Local Pickup: don't allow negative values
This commit is contained in:
parent
4cb19a2c76
commit
3cbf0d7404
|
@ -148,6 +148,7 @@ const GeneralSettings = () => {
|
|||
) }
|
||||
type="number"
|
||||
pattern="[0-9]+\.?[0-9]*"
|
||||
min={ 0 }
|
||||
value={ settings.cost }
|
||||
onChange={ setSettingField( 'cost' ) }
|
||||
disabled={ false }
|
||||
|
|
Loading…
Reference in New Issue