Closed KienPM closed 4 years ago
yeah, had to use toString() to handle that.
Using anything other than strings should result in a warning in dev mode because of https://github.com/tbleckert/react-select-search/blob/master/src/types.js#L5 .
But yeah, I agree. We should definitely handle both strings and numbers. I'll make a patch during the week if no one beats me to it.
Fixed in 2.0.5
Hey there, just confirming that I tested the new fix and it's working well, thanks a lot!
I got this error when using number as value
I think this line cause the error
Hope that you can update it! Thank you so much!