You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The config "labelField" shows the label on the suggestions, but when we select it, the label is also shown as a selected value on the input.
What I try to achieve is, for ex, I have this data as options:
[
{
"value": 584215,
"text": "Suggestion 5"
}
]
What I want is, when user types, show only the "texts" as label in the dropdown, and when user selects a value, it should show the "value" as selected value/label and no more "text". It is useful when we want to help users to select the correct item from the dropdown but save and show only the "value"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
The config "labelField" shows the label on the suggestions, but when we select it, the label is also shown as a selected value on the input.
What I try to achieve is, for ex, I have this data as options:
What I want is, when user types, show only the "texts" as label in the dropdown, and when user selects a value, it should show the "value" as selected value/label and no more "text". It is useful when we want to help users to select the correct item from the dropdown but save and show only the "value"
Beta Was this translation helpful? Give feedback.
All reactions