Passing dynamic :disable prop to PopoverButton doesn't entirely work. #2047
Unanswered
MartinPeverelli
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have this component, where I need to dynamically set the
disabled
prop to thePopopverButton
module. It partially works since it truly disables the click event, but the attribute is not added to the rendered html, thus all the CSS that should react to it is broken.This is the way I'm passing the prop:
Please let me know if there is a way for the final rendered
<button>
element to indeed contain thedisabled
attribute when the prop is set totrue
. Thanks!Beta Was this translation helpful? Give feedback.
All reactions