User
This field is used to select a user from the active users of the company in a dropdown
{"type": "user","id": "designer-user","label": "Choose Designer","showInTable": true,"isRequired": true,"allowBlockAccess": true,"selectionMode": "current-user-else-single"}
In the above example, the user selects a user from the dropdown and can block the access for that user by clicking a checkbox.
Field Attributes
Name | Type | Description |
---|---|---|
id | string | Assigns a name for the given field on the backend. This name can be used to refer this field in another field |
label | string | Adds a label to the given field |
isRequired | boolean | Makes a field mandatory |
showInTable | boolean | Displays the field in a table after saving the entry |
selectionMode | string | Sets a selection mode in the user field |
allowBlockAccess | boolean | Blocks user acces to the field |