Choices.js
typeahead.js
Our great sponsors
Choices.js | typeahead.js | |
---|---|---|
6 | 2 | |
5,992 | 16,528 | |
1.2% | -0.1% | |
0.0 | 0.0 | |
about 1 month ago | about 1 year ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Choices.js
- Rails 7 SelectBox with Search
-
How does jQuery class selector return an object?
bootstrap-select is a jQuery plugin, thus it needs jQuery as a dependency. If you can’t use jQuery, you need something similar to bootstrap-select without dependencies (also called Vanilla JS). https://choices-js.github.io/Choices/ or https://tom-select.js.org/ might work for you.
-
Looking for a library similar to select2 but without jquery requirement
You may check the https://github.com/Choices-js/Choices library.
-
Customize select with vanilla JavaScript
If this approach does not suit you, then you need to make your own. There are ready-made solutions: — Select2 in jQuery; — Chosen in jQuery; — Choices in JavaScript without deps.
-
Rails7, Choices.js, importmap-rails, stimulus-rails got "does not provide an export named default" error
I want to implement Choices.js on Rails7 with importmap, stimulus but got error like below.
- Selectra - A custom select box in vanilla JS
typeahead.js
-
Is there a way to “extend” the HTML select native search?
You can check out something like this: https://github.com/twitter/typeahead.js
-
Internal Website Search Feature
If you have access to, or are able to create, a JSON output listing the pieces of each dataset you'd like to be searchable, as well as an image, title, and URL for each, then you can incorporate a platform-agnostic search tool with advanced features such as Twitter's Bloodhound.
What are some alternatives?
select2 - Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
selectize.js - Selectize is the hybrid of a textbox and <select> box. It's jQuery based, and it has autocomplete and native-feeling keyboard navigation; useful for tagging, contact lists, etc.
jQuery-Autocomplete - Ajax Autocomplete for jQuery allows you to easily create autocomplete/autosuggest boxes for text input fields
JavaScript-autoComplete - An extremely lightweight and powerful vanilla JavaScript completion suggester.
laravel-simple-select - Laravel Simple Select inputs component for Blade and Livewire.
awesomplete - Ultra lightweight, usable, beautiful autocomplete with zero dependencies.
chosen - Deprecated - Chosen is a library for making long, unwieldy select boxes more friendly.
django-select2 - This is a Django integration for Select2