Make a Checkbox non editable.

Im using a checkbox, where it has to be noneditable for ever. It has to be checked only based on business logic not manully. I used a css style : pointer event:none. It is working for mouse user, when we using the keyboard it is again editable. This pointer events is also not applicable in Internet explore  browser. Can someone give a solution for this                              
2 answers

Mendix 6.9.0 does this for you. You can set the checkbox editabilty to never and set read-only style to control.

In the version you are using you would need to use a custom widget.


In your domain model, set the write rights of this attribute to Read (instead of Read/Write) for all module roles.