via a hook on the input tag:
To trigger a phx-change:
this.el.dispatchEvent(new Event("input", {bubbles: true}))
To trigger a phx-submit:
this.el.dispatchEvent(new Event("submit", {bubbles: true}))
via a hook on the input tag:
To trigger a phx-change:
this.el.dispatchEvent(new Event("input", {bubbles: true}))
To trigger a phx-submit:
this.el.dispatchEvent(new Event("submit", {bubbles: true}))