-
Notifications
You must be signed in to change notification settings - Fork 899
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor form recovery This commit refactors the form recovery feature to fix a problem with phx-target='selector' not working. It also stores form elements until all child views have been mounted, which allows form recovery to work in nested LiveViews. Fixes #2281. Fixes #3200. * Add e2e tests for form recovery (#3201) Adds tests for #3200 and #2281. * old Elixir does not like heex comments * fix comment * fix regex to consider _unused_ fields * use text-fixtures file for correct coverage reporting * Update assets/js/phoenix_live_view/view.js --------- Co-authored-by: Chris McCord <chris@chrismccord.com>
- Loading branch information
1 parent
cc1f745
commit 5acf2cd
Showing
7 changed files
with
454 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.