Custom formatted select field options


#1

Is it possible to display multiple fields per item and provide them in a custom format for the UIViewFieldSelectField component? For instance, If I have a type:

entity type MyType {
  mainField: string
  infoField: string
}

is it possible to display each item in the select field like something along the lines of:

Main Field Value
Info field description


#2

You can render each item using a custom format (see UIViewFieldSelectField.displayFieldFormatter), but I believe only one field can be displayed.


#3

Got it, ok I’ll look into that. Thank you!