Select Widget
Definition
The Select Edit Widget allows to configure the edit of a string type and a choice rule (not mandatory)
attribute.
Configuration
Properties
Property name | Type | Mandatory | Description | Values (default value in bold) |
---|---|---|---|---|
i18nPrefix |
| NO
| Allows to define the first part of the i18n key for each configured id. If this property is used, you cannot use the <text> property, otherwise the translation not will be taken into account. | - |
| NO | Allows to define one or several value(s) to choose from (if there is no configured choice rule directly on the attribute). | - | |
sort |
| NO | Defines the criterion for sorting values in the choice list. | AUTO, VALUE, LABEL |
options properties
Property name | Type | Mandatory | Description | Values (default value in bold) |
---|---|---|---|---|
| NO | Defines the different values. | - |
option properties
Each option will have the following configuration:
Property name | Type | Mandatory | Description | Values (default value in bold) |
---|---|---|---|---|
id |
| NO | Defines a unique id for each option. | - |
text |
| NO | Defines, for each id, the text that will be displayed to the user. |
Example
Select Edit | Select Edit with i18nPrefix |
---|---|
CODE
|
CODE
In this case, the i18n keys should be:
|
Read Next
- Features
Design screens and business features to manage objects.