Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make :for_id optional in async options #64

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Make :for_id optional in async options #64

merged 2 commits into from
Mar 5, 2024

Conversation

josefarias
Copy link
Owner

Closes #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.

@josefarias josefarias merged commit ab1510f into main Mar 5, 2024
1 check passed
@josefarias josefarias deleted the jose/no-for-id branch March 5, 2024 00:03
josefarias added a commit that referenced this pull request Mar 5, 2024
* main:
  Make `:for_id` optional in async options (#64)
  Plase -> Please
  Raise a more helpful NoMethodError (#63)
  Update README.md
  Add assets instructions to readme (#60)
@excid3
Copy link
Contributor

excid3 commented Mar 5, 2024

Looks good to me! Will try this out shortly.

@josefarias
Copy link
Owner Author

Thanks @excid3! It's not released yet so just be sure to point your gem to main.

Been cutting releases pretty frequently though so it'll be out soon anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants