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

<.live_img_preview /> breaks when updated #2215

Closed
djcoin opened this issue Sep 22, 2022 · 0 comments
Closed

<.live_img_preview /> breaks when updated #2215

djcoin opened this issue Sep 22, 2022 · 0 comments

Comments

@djcoin
Copy link
Contributor

djcoin commented Sep 22, 2022

After selecting a new file to upload, on save, LiveView fails on the client side trying to mergeAttrs of the attributes returned by the live_img_preview component. It tries to merge data-phx-upload-ref, data-phx-entry-refand so on, but also a comma ","

This comma seems to be a typo in lib/phoenix_component.ex

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

No branches or pull requests

2 participants