But I can't get it to appear for all intermediary results on the drop-down list. There it would only say: name, someProperty
Editing JS: textProperty: '{name}, {someProperty} before someProperty did nothing. I am required to add some explanatory labels in front of searchable items but would prefer not to edit the JSON file with duplicating label data for every item.
Edit: It seems that one can either use HTML data-text-property OR JavaScript textProperty to do the same thing and only need one of them.
It works well for items once they are selected. HTML:
But I can't get it to appear for all intermediary results on the drop-down list. There it would only say: name, someProperty
Editing JS:
textProperty: '{name}, {someProperty}
beforesomeProperty
did nothing. I am required to add some explanatory labels in front of searchable items but would prefer not to edit the JSON file with duplicating label data for every item.Edit: It seems that one can either use HTML
data-text-property
OR JavaScripttextProperty
to do the same thing and only need one of them.