We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I shouldn't see any validation errors when the field is not dirty. As I type input into the field the first time I shouldn't see a validation error.
I see the validation error when I first type.
Check if the field is dirty before firing the validation.
form.field('#space-for-my-field', { type: 'ssn', name: 'ssn', validations: ['required', 'validSSN'], });
Just frustrating for users to get an error before completing the input.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
I shouldn't see any validation errors when the field is not dirty.
As I type input into the field the first time I shouldn't see a validation error.
Current Behavior
I see the validation error when I first type.
Possible Solution
Check if the field is dirty before firing the validation.
Steps to Reproduce (for bugs)
form.field('#space-for-my-field', {
type: 'ssn',
name: 'ssn',
validations: ['required', 'validSSN'],
});
Context
Just frustrating for users to get an error before completing the input.
The text was updated successfully, but these errors were encountered: