I’m curious why the author used phx-change function for the form, I believe a better way to do this would be the phx-keyup function attached the text field.
There’s more than one field here, it’s just not discussed in the post. The title is a separate form field that is validated and updates live on every change event. `phx-change` gives me the whole form state, which is what I wanted.