I’m trying to alter a button’s status from enabled to disabled based on certain criteria in my app using this:
Button.react.js says that this is a valid target.
/** * Indicates whether the user can interact with the element. */ 'disabled': PropTypes.string,
My question is, what is the appropriate string to pass to disable the element? I’ve tried ‘True’, ‘true’, ‘False’, ‘false’, ‘enabled’, Enabled’, ‘disabled’, ‘Disabled’ but nothing seems to work.
I’m having difficulty locating where dash actually takes this information into consideration.