Disable Trigger Buttons
How to disable trigger buttons
Last updated
How to disable trigger buttons
Last updated
This allows us to disable the knack action link that makes these Knack trigger buttons clickable
We create another trigger-button class here to give our disabled trigger buttons a different look from active trigger buttons. Notably, we set the border color and outline color to transparent so when a disabled button is selected, it does not bring attention to itself or shift content on the page by those few pixels. Additionally, we set the button to a lighter gray color and give it some opacity.
For all the disabled buttons in the application, we will utilize this disabled button effect to change the cursor.
Create two separate Details views on a page, one for the Enabled button and the other for the Disabled button.