Skip to content

Event target #38

@MMore

Description

@MMore

Hello,

nice little library !!

Is there a way to handle components that have a phx-target set?

 <.input
        type="search"
        id={@id <> "-input"}
        name="search_phrase"
        value={@search_phrase}
        phx-target={@myself}
        phx-change="search"
      />

An assert_handle_event(view, "search") does not work in this case....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions