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

NameTypeDescription
idstringAssigns a name for the given field on the backend. This name can be used to refer this field in another field
labelstringAdds a label to the given field
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry
selectionModestringSets a selection mode in the user field
allowBlockAccessbooleanBlocks user acces to the field