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:
@@ -251,7 +251,8 @@ export function BillEnterModalLinesComponent({
|
|||||||
<CurrencyInput
|
<CurrencyInput
|
||||||
min={0}
|
min={0}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
onBlur={() => autofillActualCost(index)}
|
// TODO: Removed at customers request
|
||||||
|
// onBlur={() => autofillActualCost(index)}
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
if (e.key === "Tab") autofillActualCost(index);
|
if (e.key === "Tab") autofillActualCost(index);
|
||||||
}}
|
}}
|
||||||
@@ -329,7 +330,10 @@ export function BillEnterModalLinesComponent({
|
|||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
controls={false}
|
controls={false}
|
||||||
style={{ width: "100%", height: CONTROL_HEIGHT }}
|
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>
|
</Form.Item>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user