i use the feature, that i can use objects instead ob simple strings to define a select list option:
the benefit is, that i use labels for the view and a value how is stored.
the select field support thi, so use can use as option a object with the properties: label, value and group.
It looks nice in the select box:
The problem is that in die detail view it shows the stored value und not the label from the option
Hi,
i use the feature, that i can use objects instead ob simple strings to define a select list option:
the benefit is, that i use labels for the view and a value how is stored. the select field support thi, so use can use as option a object with the properties: label, value and group.
It looks nice in the select box:
The problem is that in die detail view it shows the stored value und not the label from the option
api/modules/App/assets/vue-components/fields/field-select.js
the solution is to select the label from the possible options:
then it work nice.
i create i n few minitutes a pull request linked to this issue