Make a Checkbox non editable.

0
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                              
asked
2 answers
2

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

https://docs.mendix.com/releasenotes/desktop-modeler/6.9#rendering-read-only-widgets-as-controls

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

answered
1

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

answered