disabling multiple elements with HTML disabled attribute and disable-element extension (and adding aria-attributes?) #1790
mattwalshdev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looks like it's already on track to be modified https://github.com/bigskysoftware/htmx/pull/1650/files but I was just checking with the community if this is the correct paradigm for disabling many form elements on the page? ie. why didn't disable-element allow to disable multiple form elements in the first place as it's a common process when submitting a form?
I'm currently converting an internal only SPA app to use htmx, so aria is not a huge deal yet, but can one add/remove aria (or any) attributes to elements via htmx? I can take the disable-element extension code and roll my own but wanted to check first.
Beta Was this translation helpful? Give feedback.
All reactions