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 Occurs Even on Disabled Elements #1343

Open
2 tasks
homestar9 opened this issue Oct 30, 2020 · 1 comment
Open
2 tasks

Validation Occurs Even on Disabled Elements #1343

homestar9 opened this issue Oct 30, 2020 · 1 comment

Comments

@homestar9
Copy link

What kind of issue is this? (put 'x' between the square brackets)

It looks like Parsley validates disabled form elements. I suppose this issue may fall into the "feature" category if this behavior is intended, however, my gut tells me, that a disabled form field should not be validated.

Here's an example codepen:
https://codepen.io/homestar9/pen/NWrYYyZ

Here's an animation of the issue:
https://i.imgur.com/SUvfl99.gif

@marcandre
Copy link
Collaborator

You are right, Parsley should probably follow the standard here. I haven't changed this for compatibility, and I put in the documentation about the 'excluded' option what should probably be the correct default.

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

2 participants