Open emetcalf-leadventure opened 1 month ago
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.
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.