Option Text (OptionText) for Reference field
General
We can now configure the option text for a reference field allowing us to query multiple subfields inside the reference field without having any effect on the display text for dropdown.
Note:
DefaultValue for a reference field should always be configured with the "Name" subField value, not the display text configured.
Code JSON
Copy
"fieldUi": {
"fieldType": "reference",
"label": "Industry",
"optionText": {
"fieldNames": ["Name"],
"separator": " - " }
}
Status
Release Available | Status | Framework Name |
---|---|---|
3.8 | Current | TBC |