Comments (3)
Customize html is not possible at the moment. Styling by css would be possible because the dropdown <ul> has two classes: typeahead and dropdown-menu
I'm not sure what to do with the typeahead yet, because in Bootstrap 3 it was dropped.
from bootstrap-templates.
hi Tim,
I have looked at the code, i have some comments to make the component more powerful
We will replace the line 193 // self.$input.typeahead({ .... });
by self.$input.typeahead(typeahead); // of course, you also need to intercept updater to update states for your component.
So that, developers could put settings for typeahead directly, and they can deal with typeahead directly such as customize html render, etc.
My Best,
Hung Tran
from bootstrap-templates.
Hi Hung Tran. Sorry for the late response, but I've been busy doning some other stuff lately. I just implemented a workaround (see #19). You can access the internal input like this: elt.tagsinput('input').
This way, you can use any typeahead solution you'd like. Some examples are provided on the Bootstrap 3 examples page: http://timschlechter.github.io/bootstrap-tagsinput/examples/bootstrap3/
from bootstrap-templates.
Related Issues (20)
- add array
- Uncaught TypeError: Cannot read property 'name' of null in bootstrap-tagsinput.js. HOT 2
- Repo activity? HOT 2
- How to append class or text to newly added tag? HOT 1
- How to get text of removed tag HOT 1
- How to return text of clicked tag HOT 1
- how to implement text sanitize on freeInput? HOT 1
- Safe string decodeURI
- tagsinput typeahead empty input have value []
- remove all method issue
- Show hint tags after type three characters HOT 3
- Is there any way to use Typeahead and New tags together? HOT 1
- only show tags
- prevent users from adding tags
- The script limits my tags to 256 symbols for unknown reason. HOT 1
- Jquery security adivisor version
- Support for Bootstrap 4 HOT 2
- delimiter
- No tag found that was able to satisfy 0.7.1 HOT 2
- No versions found
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 bootstrap-templates.