Waztom / xchem-CAR

5 stars 0 forks source link

Integer-Value modal does not prevent input from being entered #23

Open TJGorrie opened 3 years ago

TJGorrie commented 3 years ago

When inputting a non-numeric character into any input fields that are expecting an input. An annoying modal pops up saying it only accepts an integer value but the non-numeric character is otherwise placed into the field.

Steps to recreate:

Also:

I don't know what would be a suitable fix the modal kinda breaks the flow of inputting values - but it doesn't necessarily prevent incorrect values from being entered... or an obvious box highlight that screams 'This is not a positive integer' be less disruptive? And then prevent the app from saving values until all the fields are corrected?