Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axelson/phoenix_live_view_reset_form_repro


https://github.com/axelson/phoenix_live_view_reset_form_repro

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Reproduce issue with Resetting LiveView Form Programmatically

Steps to reproduce
- Run `mix.setup`
- Run `iex -S mix phx.server`
- Visit http://localhost:4000
- Fill out the form
- Press submit
- The form is not cleared but I would expect it to be cleared because I call `reset_form` which assigns a fresh `@form` assign