Comments (4)
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.
from react-select-search.
yeah, had to use toString() to handle that.
from react-select-search.
Fixed in 2.0.5
from react-select-search.
Hey there, just confirming that I tested the new fix and it's working well, thanks a lot!
from react-select-search.
Related Issues (20)
- Controlled search input
- Old values is missing after search and set new value
- Async Input fetch when focus out
- Example Not Working HOT 2
- Select doesn't close on click to it HOT 4
- After use with Tab button and click on options - highlighting works incorrect HOT 1
- onFocus and onBlur doesn't work HOT 2
- Show checkbox for multi-select
- Search Options Overlapped by Other Elements Below HOT 3
- Search Does Not Filter Items HOT 3
- additional steps in onChange
- Custom Filter with filterOptions is not working with V4.1.6 HOT 1
- printOptions is not exported member of 'react-select-search' HOT 1
- Select item on Enter HOT 4
- CSS Module example out-of-date
- inut value reset to empty when select
- Wrong highlight indexing. HOT 2
- Arrow key based selection does not move into the next option group.
- z-index problem HOT 1
- It is not at all clear from docs how to override css, please update the docs.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-select-search.