You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The straightforward reason for this request is that there's currently no way to create an optional numeric field using v-model since empty inputs are reset to zero.
The fuzzier reason is that in many if not most models an empty input signifies the absence of its value, hence the error message "Please enter a username" instead of "Please enter a username that isn't empty," and the fact that, in contrast to data validation tools like JSON schema, HTML5 doesn't allow required fields to be empty.
I have no idea what this modifier should be called, though.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The straightforward reason for this request is that there's currently no way to create an optional numeric field using v-model since empty inputs are reset to zero.
The fuzzier reason is that in many if not most models an empty input signifies the absence of its value, hence the error message "Please enter a username" instead of "Please enter a username that isn't empty," and the fact that, in contrast to data validation tools like JSON schema, HTML5 doesn't allow
required
fields to be empty.I have no idea what this modifier should be called, though.
The text was updated successfully, but these errors were encountered: