Merged in bugfix/IO-3533 (pull request #2937)

bugfix/IO-3533 - Disable on blurr and on focus handlers in bill entry modal

Approved-by: Patrick Fic
This commit is contained in:
Dave Richer
2026-02-02 20:06:13 +00:00
committed by Patrick Fic

View File

@@ -251,7 +251,8 @@ export function BillEnterModalLinesComponent({
<CurrencyInput
min={0}
disabled={disabled}
onBlur={() => autofillActualCost(index)}
// TODO: Removed at customers request
// onBlur={() => autofillActualCost(index)}
onKeyDown={(e) => {
if (e.key === "Tab") autofillActualCost(index);
}}
@@ -329,7 +330,10 @@ export function BillEnterModalLinesComponent({
disabled={disabled}
controls={false}
style={{ width: "100%", height: CONTROL_HEIGHT }}
onFocus={() => autofillActualCost(index)}
// TODO: Removed at customers request
// NOTE: onFocus autofill behavior disabled per user request (revert to tab-only behavior)
// This can be re-enabled as a user preference in the future
// onFocus={() => autofillActualCost(index)}
/>
</Form.Item>
</div>