bugfix/IO-3533 - Disable on blurr and on focus handlers in bill entry modal
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user