Inherit read-only style pluggable widget

Hi all, With default mendix functionality it is possible to inherit the read-only style from the data view, e.g. below screenshot for date picker:    Is there a way to also build this for custom pluggable widgets? I know an attribute has got a readOnly flag when the dataview is not editable, but I also want to show it either as control or as text, based on the dataview settings.  
1 answers

Hi Johan, did you try adding the systemProperty ‘editability’ in the widget XML? That gives you exactly the radio button like you showed above but then for your pluggable widget.