Comments (2)
It should be available in v5.10.0
from select2-component.
Confirmed this is implemented now, but i think the functionality is a little odd, but it may just be for my specific usecase...
I think that if the minSearchLength is set, that there should not be any results in the dropdown until that treshold is met. until then there should be custom text to tell the user 'min of X chars required to search' or similar.
Maybe there could also be an option that shows all results if the search length is 0 or when the minInputLength threshold is met.
In addition there may also be a need to adjust the search to startsWIth/endWIth/contains, but i realize you are already supplying the ability to insert a custom search function...
from select2-component.
Related Issues (20)
- "groupOrOption is undefined" with angular 7 HOT 2
- Dynamic data still hides search HOT 2
- Dropdowns dont stay open when clicking scroll-handle HOT 1
- Request to run with Typescript < 3.7 HOT 3
- JS Error that points to the select2 package HOT 4
- Select2Option.Classes ignored HOT 2
- SearchInput gets cleared when closing the dropdown HOT 2
- Unable to set Value when dynamically loading options HOT 1
- Close the dropdown, if selection was done outside the component?
- Update options for select HOT 3
- Dropdown scrolling bug HOT 1
- Allow custom/new value HOT 6
- possibility to add className and id
- multiple warnings with react hooks
- React gives Unable to find node on an unmounted component HOT 5
- React component doesn't show label for default value
- I can use the theme bootstrap for this select2 ? HOT 1
- Unable to clear a selection
- how to clear the selection value
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 select2-component.