-
Notifications
You must be signed in to change notification settings - Fork 42
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
Publish new version that is compatible with LiveView 1.0? #88
Comments
Thanks for the heads-up. I just updated to LV 1.0.0 and tried to compile, but I get this error:
no time to investigate right now. If you have a clue, I'm all ears! Thanks |
Munksgaard
added a commit
to Munksgaard/live_select
that referenced
this issue
Dec 6, 2024
LiveView 1.0 adds support for interpolation using curly braces (`{...}`) instead of angle brackets (`<%= ... %>`)[0]. This caused a compilation error in `ShowcaseLive`, because we return literal curly braces in the HTML. The fix is to either use `{` or `<%= "{" %>`[1]. I think the former is nicer, so that's what I've done here. If you disagree, I'm happy to change it. I've also changed some instances of `live_flash/2` to `Phoenix.Flash.get/2`, as `live_flash/2` is now deprecated[2] Fixes: maxmarcon#88 0: https://hexdocs.pm/phoenix_live_view/Phoenix.Component.html#sigil_H/2-interpolation 1: phoenixframework/phoenix_live_view#3554 2: https://hexdocs.pm/phoenix_live_view/changelog.html#deprecations-1
Closed
I just published a new version 1.4.4 compatible with LV 1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LiveView 1.0 has just been released. I'd love to upgrade, but live_select requires
phoenix_live_view ~> 0.19
. I know that I can useoverride: true
in my mix.deps, it would be nicer to release a new version of live_select that was fully compatible.Related to #85.
Edit: And by the way, thank you for your work on this component. It is great!
The text was updated successfully, but these errors were encountered: