EtienneLamoureux / sc-trade-tools

Issues repository for SC Trade Tools
http://sc-trade.tools
23 stars 4 forks source link

Minimum refresh rate of 0 fails form validation #94

Closed SerethiX closed 3 years ago

SerethiX commented 3 years ago

Describe the bug

When resetting the value of the Minimum refresh rate a value of zero fails the forms validation on any trading route calculator and you can't submit the form. The field has to be empty or > 0 in order to allow a search.

To Reproduce

Set the Minimum refresh rate to zero and see the Submit button go to disabled

Expected behaviour

A user entered 0 should work the same as the placeholder 0, thats really hard to distinguish for a not so trained user.

Screenshots

None needed