-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix(Dropdown): disable the trigger element if the dropdown have disable="true"
#878
Conversation
disable="true"
Not sure if this the right approach. I could use something else to trigger the dropdown. If we want this behaviour I would suggest to query by trigger slot and set disabled it's children. |
We have discussed it, and your concern is right, but in this case, we would like only to cover the use case when the trigger is a |
Quality Gate passedIssues Measures |
disable="true"
disable="true"
The purpose of this PR is to address the issue related to the disabled state management in the dropdown component. Previously, the disabled state of the dropdown was not properly synchronized with the associated button's disabled state. This PR fixes that issue by implementing a mechanism to correctly update the button's disabled state based on the dropdown's disabled property. As a result, the dropdown component now ensures consistent behavior when managing its disabled state, enhancing overall accessibility and user experience.