During typeahead, the dropdown should fill in values from the value field. After selecting the correct result, the value stored in the input field should be the abbr field.
I tested around with supplying multiple datasets, using displayKey and valueKey but that didn't work, because there is no way to have a computed value like in the example above, and also the search uses valueKey.
I would like to achieve the following:
my function for the dataset returns an object array in the form of
During typeahead, the dropdown should fill in values from the
value
field. After selecting the correct result, the value stored in the input field should be theabbr
field.I tested around with supplying multiple datasets, using
displayKey
andvalueKey
but that didn't work, because there is no way to have a computed value like in the example above, and also the search usesvalueKey
.