-
Notifications
You must be signed in to change notification settings - Fork 65
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
Close if empty html #124
base: main
Are you sure you want to change the base?
Close if empty html #124
Conversation
✅ Deploy Preview for stimulus-autocomplete ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@ACPK did you check the example? https://github.com/afcapel/stimulus-autocomplete/pull/124/files |
@elalemanyo Yes but the Rails example should be updated to reflect the change. I found that Doesn't work: It could be resolved in Rails 7 by adding the following code to the controller. Works: |
@afcapel Is there any possibility to merge this? We believe it could be of interest to other users. |
I think it makes more sense to open the results only when there are results. In my case, this resulted in some style inconsistencies.