Hi, I wanted to create a search form in LiveView. To do that, I’m thinking of using form binding and phx_submit, as explained in guides. So far, it works, but the form value got submitted and gone.
I want to keep that value so the User knows what are they searching for. One way is to send back the form request through assign\3. But that means I have to use Ecto.Changeset instead of just ordinary map. Is this the best practice? Or can we do something more simple?