Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor form recovery #3201

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Refactor form recovery #3201

wants to merge 6 commits into from

Conversation

SteffenDE
Copy link
Collaborator

@SteffenDE SteffenDE commented Apr 6, 2024

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.

SteffenDE added a commit that referenced this pull request Apr 14, 2024
SteffenDE added a commit that referenced this pull request Apr 14, 2024
@SteffenDE SteffenDE marked this pull request as ready for review April 14, 2024 14:03
SteffenDE added a commit that referenced this pull request Apr 27, 2024
SteffenDE added a commit that referenced this pull request May 3, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant