Comments (7)
Procedure:
- Type something in the text box.
- Suggestion dropdown shows up.
- Use the arrow keys to select an item and press
[Return/Enter]
on the keyboard.
Expected behavior:
The text box should be populated with the selected item
and a function should be called with the associated value.
Observed behavior:
The text box is not populated with the selected item.
from better-autocomplete.
That is a feature. It is up to the integrating developer to define what happens when a selection is made, through the select callback. In example.html there is a demo of where it is inserted (phone numbers).
from better-autocomplete.
Oh. Well, most people will be expecting this out-of-the-box. =)
from better-autocomplete.
That may be true. I'm leaving this issue open for a while, for time to consider it :)
from better-autocomplete.
I like the way you've written your code. Probably one of the cleanest jQuery plugin I've seen so far. =)
from better-autocomplete.
Thank you very much. I intend to make this plugin usable for as many purposes as possible.
To the issue: I think you are right, and that the default behavior should be to insert the title into the input field. I will commit this now.
from better-autocomplete.
Awesome. =)
from better-autocomplete.
Related Issues (20)
- Add getGroup callback
- Limit cache size HOT 3
- Canonical query callback
- Insufficient knowledge of current remote calls
- [Feature request] Clear button (×) in the input field. HOT 1
- Test and eliminate bugs in IE 7-9 [Need help] HOT 14
- array.indexOf is unsupported by IE7-8 HOT 3
- Allow groups with HTML. HOT 1
- IE: window.open not working
- IE: Scrolling results bug HOT 2
- IE: Cross domain requests HOT 2
- Feature reqest : Add a callback in redraw. HOT 2
- Make a real make-file
- Change charLimit for local queries from 1 to 2 HOT 1
- Default to input blur on select HOT 1
- Sort Problem HOT 1
- Accessibility Issue | Screen Reader not reading the drop down options HOT 1
- It doesn't work on ie7 HOT 1
- selectkey and autoHighlight bug
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 better-autocomplete.