Fields
Last updated
Last updated
Each field has common properties you can edit when you add a field or also after it has been created.
The above picture shows the basic information available per each field
Name: The label of the field shown on the edit of a content.
Hint: (optional) An help text.
Key: The name of the field in the API responses.
Enable Localizazion: If the field can be localized. If false changing the value of the field will replace the value on all available languages of the content.
This field is required: If the field is mandatory.
Hidden Field: Hides the field from the UI, but it will be available via API.
Read Only: Show the field in the UI in read-only mode, but it will be available via API.
The simplest type of field. It renders an Input Field or a Text Area based on settings.
Unique: (Rule) The value of the field must be unique inside the collection.
Use as title: This field is used as the value of rows when selecting the content from a relations field.
Default Value: The defualt value of the field.
Editor: The editor to use while editing contents. Can be a Text Input or a multiline Text area.
Number of chars: (Rule) The min/max number of chars allowed
It renders a input box that allows only digital inputs.
Editor: The editor to use while editing contents. Can be a HTML or Markdown.
Number of chars: (Rule) The min/max number of chars allowed
It renders a input box that allows only digital inputs.
Default Value: The default value of the field.
Type: Integer or Decimal.
Range: (Rule) The min/max number allowed.
A boolean fields, that renders a switch input
Default Value: The default value of the field. Can be true, false, 1 or 0
It renders a Date Picker input
It renders a Date & Time Picker input
It renders a Time Picker input
The single choise field allows you to select an element from a list of predefined value. It renders a Radio Button List or a Select based on settings.
Editor: Select or Radio Button.
Values: The list of predefined values. Each row represent a value.
The enumeration field allows you to select 1 or multiple elements from a list of predefined value. It renders a Checkbox List or a Multi Select based on settings.
Editor: Checkboxes or Multi select.
Values: The list of predefined values. Each row represent a value.
Min/Max Selection: (Rule) The min/max number of selectable elements.
It renders a Tagged input.
Min/Max Selection: (Rule) The min/max number of Tags allowed.
It renders a Media Selector Modal to select an asset from the Media Library.
It renders a Media Selector Modal to select multiple assets from the Media Library.
It renders a Color Picker input to visually select a color in HEX format.
It renders a Leaflet Map with the option to search by location or by coordinates.
It renders a repeatable Key/Value input text fields.
It renders a repeatable Text input fields.
It renders a code editor control with syntax highlight and formatting.
Json Fields are useful in all the situation you need to store a custom structure of data and retrieve it as a Json Object instead of a string or other primitive types.
It renders a table to manually select related contents of other models.
Allowed Type: The type of content allowed.
It renders the controls defined in a component.
Allowed Type: The component allowed.
It renders a repeatable and orderable list of components.
Allowed Types: The types of content allowed.