reza / hotwire_combobox

An autocomplete combobox implementation for Ruby on Rails.

Home Page:https://hotwirecombobox.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy Autocomplete for Ruby on Rails

CI Tests Gem Version

Important

HotwireCombobox is at an early stage of development. It's nearing a beta release, but the API might change and bugs are expected. Please continue to use the library and report any issues in the GitHub repo.

Installation

Add this line to your application's Gemfile and run bundle install:

gem "hotwire_combobox"

Then add the stylesheet to your layout:

<%= combobox_style_tag %>

Or require the styles with the asset pipeline in app/assets/stylesheets/application.css:

*= require hotwire_combobox

Only apps that use importmaps are currently supported. Support for other JS solutions is in progress.

Docs

Visit the docs site for a demo and detailed documentation. If the site is down, you can run the docs locally by cloning the docs repo.

Contributing

Please read CONTRIBUTING.md.

License

The gem is available as open source under the terms of the MIT License.

About

An autocomplete combobox implementation for Ruby on Rails.

https://hotwirecombobox.com

License:MIT License


Languages

Language:Ruby 59.7%Language:JavaScript 16.9%Language:HTML 12.9%Language:CSS 10.3%Language:Shell 0.2%