Local Pickup: don't allow negative values

This commit is contained in:
Nadir Seghir 2022-12-26 14:42:08 +01:00
parent 4cb19a2c76
commit 3cbf0d7404
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ const GeneralSettings = () => {
) }
type="number"
pattern="[0-9]+\.?[0-9]*"
min={ 0 }
value={ settings.cost }
onChange={ setSettingField( 'cost' ) }
disabled={ false }