Hi,
I have a custom field defined like this:
I want this field (tMCheckStatus) and many more to be inline editable based on the role of the logged in user.
Is there a way to configure this directly in the field’s metadata (e.g. using something like visible: inRole('tm') or readOnly), or do I need to handle this in a custom field view?
I have a custom field defined like this:
PHP Code:
"tMCheckStatus": {
"type": "enum",
"options": [
"Pending",
"Done",
"Not Applicable"
],
"default": "Pending",
"style": {
"Pending": null,
"Done": null,
"Not Applicable": null
},
"maxLength": 100,
"isCustom": true,
"editable": true,
"view": "custom:views/fields/inline-edit-enum"
}
Is there a way to configure this directly in the field’s metadata (e.g. using something like visible: inRole('tm') or readOnly), or do I need to handle this in a custom field view?
Comment