josefarias / hotwire_combobox

An accessible autocomplete for Ruby on Rails.
https://hotwirecombobox.com
MIT License
456 stars 30 forks source link

Detangle autocompletion, selection, and filtering #111

Closed josefarias closed 6 months ago

josefarias commented 6 months ago

This is a refactor with some minor breaking changes:

One big win from this refactor is that previously a selection might have emitted many events as the library did some internal processing. Now, only one event is emitted where you'd only expect one event.