-
Notifications
You must be signed in to change notification settings - Fork 150
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
Using :values={some_value: "yes"} will dasherize key to "some-value" #562
Comments
Would also like to know the answer to this, started seeing this after upgrading to |
Yep, I have an app where we use things like |
so @margusp2heathmont and @Coffei , I made this supported on the Anyway, the fix that I have to make in my app and you in yours is to replace the following code:
with
as this was implemented to support this new syntax here: phoenixframework/phoenix_html@0f2c4f3 If you don't make it a nested list, and keep using "phx-some_thing", this "some_thing" unfortunately will be turned into "some-thing" on the phoenix_html level. |
Thanks for the update! I am not using |
@Coffei does it work if you replace your map that you pass to values with keyword list? (I'm not saying it will work) |
Hmm.. I use
|
Is there some reason why this happens and url params should be dasherized?
The text was updated successfully, but these errors were encountered: