Enable and Disable Button - how to

Thanks @mohif1995 and @Sorry_Duh but, I considered the component property and solved it like this:
For button A --> on click event --> A.disable=‘false’
For button B --> on dynamic attributes --> Value --> disable=‘true’
That way I don’t need to add the toggle component to the page, avoiding unnecessary ‘overload’.

2 Likes