Comments (4)
Do you mean live-search feature?
When you edit field. the filtered options list also changed. it may change from ten options to one option. Always highlight the first is a safe way to avoid unexpected result.
from nya-bootstrap-select.
Yes live-search.
I mean after focus - clicking select. options are opened and first option is always highlighted. I think highlighted should be selected option - that is third.
from nya-bootstrap-select.
You're right. This may be confusion. but it make sense. mouse hover has different effect with active highlight. The active highlight represents a selection of current matched element. because we don't want the input field lose focus when using arrow up and down key.
That the way, which Bootstrap-select feature to solve this issue.
http://silviomoreto.github.io/bootstrap-select/
I just follow it.
from nya-bootstrap-select.
Ok, I see Your point but there is a bug.
Not in multiple click enter to open dropdown (or open with click). with arrows go to third option and press enter to select it. Dropdown closes.
Now press enter one more time - dropdown openes and You have highlighted first and third option - it remembers last state and it should be forgotten.
from nya-bootstrap-select.
Related Issues (20)
- Custom Html selected value HOT 2
- IE Scrollbar bug HOT 3
- Support for binding actions-box, multiple, live-search HOT 3
- searchbox keydown error due to conflict with bootstrap-select plugin
- FIX: Need to double click on get focus in order to open the select list HOT 1
- Live search does not working properly with grouped list
- by default select one option in dropdown HOT 1
- Dropup from bootstrap-select HOT 3
- selected items as deep copy HOT 7
- Live-search does not clear input after selecting an option HOT 1
- Dynamic attribute "multiple" HOT 1
- async data error HOT 2
- With Action Box & Multiple options, Select All and Deselect All does not work HOT 3
- Single selection drop-down unable to reset the values in nya bootstrap select in angular 1.5 HOT 19
- Changing the collection with a selected (no longer valid) modelValue results in first element selected HOT 3
- <i> as a tick
- In-built UI to clean model value HOT 2
- Update label when options are changing HOT 3
- Focus on selected item with live-search
- Not showing "show-menu-arrow" for initial default value HOT 1
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 nya-bootstrap-select.