Comments (1)
I think an elegant way to support this would be to:
- Support datasets that call
sync
andasync
.search(...)
callbacks more then once (I'm pretty sure all calls except the first one are currently ignored) - Make a dataset class (constructor) that takes multiple datasets as arguments and represents their union (in kind of a set-theory sense). It's
.search()
method would just call all the "wrapped" dataset'ssearch
methods.
Then one would be able to turn any number of datasets into one with just one "templates.empty" option.
from typeahead.js.
Related Issues (20)
- Offset option is not working HOT 1
- Preventing http request base on custom characters or data types HOT 1
- Use with ES6 import HOT 3
- Show suggestions on focus with minLength=0 does not work
- Suggestions are not showing correctly
- Cursor being set on hover causes incorrect selection depending on mouse position
- Accessibility: Select box has no description
- Accessibility: Missing required WAI-ARIA states or properties HOT 1
- Right click results to open in new tabs
- Confusing name (Typeahead.js or corejs-typeahead?) HOT 6
- Can't replicate remote example with Django supplying JSON / don't know how to debug HOT 2
- Bad html syntax
- Limit on async requests when using more than six data sources HOT 1
- Error calculating rendered variable in async function. Succesive calls to this funcion not appending the suggestions:
- "async" call in custom "source" function not working as expected
- Vulnerabilties - JQuery 1.12.4 found when running lighthouse for optimization suggestion HOT 1
- onChange fires before value is updated [When Clicked]
- Any chance of removing jQuery dependency? HOT 1
- New release to npm? HOT 9
- Firefox is broken, Chrome and Edge works fine. HOT 2
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 typeahead.js.