Hi there, in my application I am trying to use react-select-search to display a list of users with their ids. The data comes from my own database so it looks like this:
So that in my form I get back value: 1 or 2 when selecting users. But it turns out that react-select-search is not working well when values are integers instead of strings. Could we support values as integers too?
Hi there, in my application I am trying to use react-select-search to display a list of users with their ids. The data comes from my own database so it looks like this:
When using, react-select-search, I map this array to:
So that in my form I get back value: 1 or 2 when selecting users. But it turns out that react-select-search is not working well when values are integers instead of strings. Could we support values as integers too?
Here's an example: https://codesandbox.io/s/little-paper-txztz?file=/src/App.js
Thanks!