- fixed using decimals in create appointment modal;
This commit is contained in:
@@ -1301,7 +1301,8 @@ const DomandaEditPreInstructor = () => {
|
|||||||
</label>
|
</label>
|
||||||
<InputNumber
|
<InputNumber
|
||||||
value={appointmentData.amount}
|
value={appointmentData.amount}
|
||||||
keyfilter="int"
|
locale="it-IT"
|
||||||
|
minFractionDigits={2}
|
||||||
invalid={isEmpty(appointmentData.amount) || appointmentData.amount === 0}
|
invalid={isEmpty(appointmentData.amount) || appointmentData.amount === 0}
|
||||||
onChange={(e) => setFieldValue('amount', e.value)}/>
|
onChange={(e) => setFieldValue('amount', e.value)}/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user