Closed josefarias closed 6 months ago
Closes https://github.com/josefarias/hotwire_combobox/discussions/62
In most cases, the async combobox's id can be inferred from the incoming filter request. If we do that, then you don't need to pass :for_id most of the time.
:for_id
The kwarg is still supported, so you can still specify an id if you absolutely need to.
Looks good to me! Will try this out shortly.
Thanks @excid3! It's not released yet so just be sure to point your gem to main.
main
Been cutting releases pretty frequently though so it'll be out soon anyway.
Closes https://github.com/josefarias/hotwire_combobox/discussions/62
In most cases, the async combobox's id can be inferred from the incoming filter request. If we do that, then you don't need to pass
:for_id
most of the time.The kwarg is still supported, so you can still specify an id if you absolutely need to.