Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keathley/form_test
potential phx-live-view bug
https://github.com/keathley/form_test
Last synced: 29 days ago
JSON representation
potential phx-live-view bug
- Host: GitHub
- URL: https://github.com/keathley/form_test
- Owner: keathley
- Created: 2022-04-21T22:29:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-21T22:30:11.000Z (over 2 years ago)
- Last Synced: 2024-11-02T03:22:25.855Z (3 months ago)
- Language: Elixir
- Size: 42 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This recreates an issue I was seeing with form helpers. I had something else in the component that was
triggering a re-render on a timer. When that happened it would delete the values inside of any form fields that aren't controlled by the component state (by using `value={@form_value}` and `phx-change` on the form.I'm not sure if this is a bug or working as intended.