Skip to content

<.live_img_preview /> breaks when updated #2215

@djcoin

Description

@djcoin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions