I’ve been battling with LiveView for too long and I could use some eyes. I’ve installed LiveView 0.3.1. Followed the README/Docs/Sample apps. No errors on Phoenix boot or Webpack compile. I’ve dropped a
live_render call into an existing template. Everything renders on load as expected.
I have a form with
phx_change: "validate" on the
<form> element its self. When I type into an input no events are emitted. I’ve added a generic button directly from the docs and when I click it no events are fired. I’ve looked at the compiled JS (via webpack) and have confirmed that phoenix_live_view.js is bundled.
I can directly push an event via the JS console. The server receives it and the DOM updates as expected.
It all seems to work aside from the event triggers.