Disabling a button #4145
Unanswered
Sanjay-2004
asked this question in
Q&A
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.
-
I wanted to disable a ShadCN button, so I used the disable property and kept a tailwind classname of "cursor-not-allowed". But once I made the button disabled, the class was not applied to the component. Is there any workaround for this?
Beta Was this translation helpful? Give feedback.
All reactions