In some cases the access rules or read-only dataviews make an attribute non-editable. I would like to have that information in the widget. Now I need to copy a snippet to a readonly copy, which is a maintenance problem.
This is an old one, but still relevant today ; the method “isReadonlyAttr” doesn’t exist anymore, and anyways it’s in the java API, so not directly available in the UI;
I created a question for this : https://forum.mendix.com/link/questions/113174
I also created a test project, and tried to use IMendixObjectMember.hasWriteAccess() / hasReadAccess() methods, but they always return true, which is obviously a bug.
I’m going to create a support request for this
There is a method "isReadonlyAttr" on MxObject. Is it what you are looking for?