Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/axelson/phoenix_live_view_reset_form_repro
- Owner: axelson
- Created: 2024-11-17T17:02:16.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T17:52:44.000Z (about 2 months ago)
- Last Synced: 2024-11-29T20:31:07.181Z (about 1 month ago)
- Language: Elixir
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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