Is there a way to use JS.push(“change”) in live view so that it returns all form params like on a regular phx_change
event? I have an item that I want to fire a “change” event when it is clicked and return the form changes like a regular “phx_change” event.
so the answer was actually to use JS.dispatch
, which I overlooked.
1 Like