Select

Description

Allows the user to select an option via a drop-down menu from a set of values. Can be configured to select one or more values.

Parameters

Field type

Allows you to configure the type of the input value.

Field name

Allows you to configure the name and id of the input block of the input field.

Field label

Designates the title label of the input field. Can be a translation key.

Label position

Allows you to modify the position of the text entered as a parameter in ‘field label’.

4D value

Fill the field with the default value.

Default value

Fill the field with the default value.

Required field

Indicates whether the field must be completed (a small red star appears to indicate this to the user).Allows you to modify the position of the text entered as a parameter in ‘field label’.

Is linked to the module entity?

If checked, indicates that the field is a property of the module entity.

If necessary, specify the relationship path (e.g. Entity.MyRelationship)

Requires ‘is linked to the module entity?'

Enables the field to be linked to an entity other than the module entity via a relationship.

Linked to a url parameter

If checked, try to fetch a value from the url parameter (after the ‘?’).

URL parameter name

Requires ‘Linked to a url parameter’

Parameter name.

multiple choice

Allows the user to choose several options in the select.

Use Tom Select rendering

Field name' must be filled in

If checked, transforms the select into a Tom Select object.

Choice + free input (uses Tom Select)

Requires ‘use tom select rendering’

Allow user to add possible values to tom select.

Use a function to retrieve items from the list

If checked, new parameters appear, allowing you to retrieve items from the list.

Class

Requires ‘use a function to retrieve items from the list’

Incompatible with ‘list of possible values’.

Used to select the class in which the function is located.

Function

Requires ‘use a function to retrieve items from the list’

Incompatible with ‘list of possible values’.

Allows you to choose the name of the function from the elements in the select.

List of possible values

Incompatible with ‘Class’ and ‘Function’

Enables you to enter the list of hard-coded elements in the property. Each value must have a line break between them.