diff --git a/src/pages/DomandaEditInstructorManager/index.js b/src/pages/DomandaEditInstructorManager/index.js index 4d183ad..1f0a76c 100644 --- a/src/pages/DomandaEditInstructorManager/index.js +++ b/src/pages/DomandaEditInstructorManager/index.js @@ -1858,7 +1858,8 @@ const DomandaEditInstructorManager = () => { {__('Importo approvato', 'gepafin')} 0 ? data.amountAccepted : data.amountRequested} + maxFractionDigits={2} readOnly={!isEmpty(data.amountAccepted) && data.amountAccepted > 0} keyfilter="int" invalid={!finalDialogData.amount || isEmpty(finalDialogData.amount) || finalDialogData.amount === 0} diff --git a/src/pages/DomandaEditPreInstructor/index.js b/src/pages/DomandaEditPreInstructor/index.js index 76d2733..c6facd0 100644 --- a/src/pages/DomandaEditPreInstructor/index.js +++ b/src/pages/DomandaEditPreInstructor/index.js @@ -1858,9 +1858,9 @@ const DomandaEditPreInstructor = () => { {__('Importo approvato', 'gepafin')} 0 ? data.amountAccepted : data.amountRequested} + maxFractionDigits={2} readOnly={!isEmpty(data.amountAccepted) && data.amountAccepted > 0} - keyfilter="int" invalid={!finalDialogData.amount || isEmpty(finalDialogData.amount) || finalDialogData.amount === 0} onChange={(e) => updateFinalDialogData(e.value, 'amount')}/> : null}