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

isDisabled doesn't check for parent fieldsets #2177

Open
sukima opened this issue Mar 4, 2025 · 0 comments
Open

isDisabled doesn't check for parent fieldsets #2177

sukima opened this issue Mar 4, 2025 · 0 comments

Comments

@sukima
Copy link

sukima commented Mar 4, 2025

I don't know if this is what others expect or not but…

Given the case of nested fields in a fieldset the fieldset can disable all fields within. But the isDisabled assertion doesn't see that.

<fieldset disabled>
  <input> <!-- this is disabled -->
</fieldset>

Live Demo

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