Closed r3wt closed 6 years ago
Common situation our items are like:
{ id: 1, title: 'Example' }
with onSelect we want to update the state with both id and title, but react-autocomplete only passes the title! is there any work around?
onSelect
was a typo, my apologies.
Common situation our items are like:
with
onSelect
we want to update the state with both id and title, but react-autocomplete only passes the title! is there any work around?