I want a autosuggest workflow like below. Instead of displaying numeric ID, say 123 in a text field, I want to show custom information.
While I can do the rest with React, I still need to do autocomplete. I have two requirements:
- When selected, provide a callback with rich data
{id: 123, title:"Prince Hall", info:"123 Foo St"} - Have custom rendering that allows me to reuse JSX templates
JQueryUI and Twitter autocompletes have both features. But their item rendering takes is string based, but I want to reuse JSX templates which are virtual-dom based. I dont want to duplicate/hardcode JSX templates with string templates.
