You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I add 'disabled' to the MenuItem then it adds the aria-disabled prop, however I want to mark the within the as disabled, outputting "disabled" inline, however this doesnt work. It looks like its removed or set by default to false?
Have read the closed issues and can't see anyone reporting the same issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I add 'disabled' to the MenuItem then it adds the aria-disabled prop, however I want to mark the within the as disabled, outputting "disabled" inline, however this doesnt work. It looks like its removed or set by default to false?
Have read the closed issues and can't see anyone reporting the same issue.
A very simplified markup:
I am expecting
<button disabled>disabled button</button>
Beta Was this translation helpful? Give feedback.
All reactions