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
{{ message }}
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
Hi, is there a way to define a custom error message for when a required field is empty? The default "Please fill out this field" is fine in Chrome & Firefox, but in Safari it just says "value missing", which I'd like to change to something more customer-friendly. Is there a way to do this without defining a custom validator?
The text was updated successfully, but these errors were encountered:
At the moment, your only option is to set data-native-error on your field to the message, but keep in mind that if you have other built-in validators (like type="email" or pattern) their error messages will be overtaken as well.
This is something I'll address in the next version with the approach in #218.
Hi, is there a way to define a custom error message for when a required field is empty? The default "Please fill out this field" is fine in Chrome & Firefox, but in Safari it just says "value missing", which I'd like to change to something more customer-friendly. Is there a way to do this without defining a custom validator?
The text was updated successfully, but these errors were encountered: