phoenix_live_view icon indicating copy to clipboard operation
phoenix_live_view copied to clipboard

_target param is not sent when using JS.push on phx-change/phx-submit

Open chrismccord opened this issue 4 years ago • 1 comments

chrismccord avatar Jan 26 '22 01:01 chrismccord

I encountered this issue as well: an upload form event was going to the liveview instead of the component. A workaround until this is fixed is to explicitly set the target on the form, using phx-target={@myself}.

dvic avatar Mar 17 '22 08:03 dvic

I think this was fixed via https://github.com/phoenixframework/phoenix_live_view/commit/2d5381834951c417107a3e6eba43c6a487e74afd

SteffenDE avatar Jan 17 '24 18:01 SteffenDE