Disable Buttons - Mendix Forum

Disable Buttons

0

Provide an Option to disable Button based on Condition . 

 

There are cases where you want to show a Disabled button based on certain condition rather than completely hiding it . 

 

To extend on Data view editable condition  in 10.7 . Any Button with in a dataview should have same options as any other input field .

asked
3 answers

Yes I used above approach but I was proposing. justan idea to make this option available in the wudget itself 

Created

You can achieve this by adding the class: 'disabled' dynamically based on your conditions.

 

However, keep in mind that disabled buttons can cause bad UX:

https://uxplanet.org/disabled-buttons-in-user-interface-4dafda3e6fe7

 

Created

Hi, Naresh Agarwal 

Write a condition visibility instead of disable button it may be work 

Created