Skip to content
New issue

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

Validation Error Display #87

Open
emetcalf-leadventure opened this issue Jul 25, 2024 · 0 comments
Open

Validation Error Display #87

emetcalf-leadventure opened this issue Jul 25, 2024 · 0 comments

Comments

@emetcalf-leadventure
Copy link

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'],
});
Screenshot 2024-07-25 at 12 15 53 PM

Context

Just frustrating for users to get an error before completing the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant