fix: allow just numbers
This commit is contained in:
parent
fd582990ef
commit
bee2dc42e6
1 changed files with 3 additions and 3 deletions
|
|
@ -449,7 +449,7 @@ const Requirement = () => {
|
|||
{isSuspend && (
|
||||
<Field
|
||||
className={classes.thresholdField}
|
||||
component={TextInput}
|
||||
component={NumberInput}
|
||||
label="Days"
|
||||
size="lg"
|
||||
name="requirement.suspensionDays"
|
||||
|
|
@ -548,7 +548,7 @@ const DisplayThreshold = ({ config, currency, isEdit }) => {
|
|||
bold
|
||||
className={classnames(inputClasses)}
|
||||
name="threshold.threshold"
|
||||
component={TextInput}
|
||||
component={NumberInput}
|
||||
textAlign="right"
|
||||
/>
|
||||
) : (
|
||||
|
|
@ -559,7 +559,7 @@ const DisplayThreshold = ({ config, currency, isEdit }) => {
|
|||
bold
|
||||
className={classnames(inputClasses)}
|
||||
name="threshold.thresholdDays"
|
||||
component={TextInput}
|
||||
component={NumberInput}
|
||||
textAlign="right"
|
||||
/>
|
||||
) : (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue