-
Notifications
You must be signed in to change notification settings - Fork 935
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
Form recovery not working when targeting forms in Live Components #3527
Comments
Experienced the same issue. Worked around it by changing the |
@ammancilla can you elaborate on why you are unable to update to 1.0? Concerning backporting, that's up to @josevalim or @chrismccord :) |
Hey @SteffenDE , The main two reasons at the moment are:
|
There is no difference in stability between the 1.0 release candidates and any other release we did in the past. Looking back, I do think we should have done a
Apart from the phx-feedback-for changes, there is no backwards incompatible change in 1.0 compared to 0.20, so if you use the shim mentioned in the changelog, you should be good to go. I encourage you to try moving to the RCs. You can add I think it is also worth mentioning that we do rely on people trying out the RCs to find issues and report them. While we try our best to not mess things up, sometimes unexpected issues do still arise. So if you find any issues when updating, please open an issue! |
Thanks! There are certainly a few ways to stay on |
I'll keep this open to see if we might get feedback from José or Chris. Personally, I'd like people to not stumble into this (long fixed) bug on 0.20, but I don't do the releases. That being said, there are also other bugs that are already fixed, so it's not always easy to decide what is worth backporting and what not. |
Environment
Actual behavior
A recoverable form rendered through a Live Compnent does not recover after a Live View crash/disconnect. In fact, not only the form does not recover but the Live View remains broken with:
Demo 🎥
Expected behavior
A recoverable form rendered through a live component, recovers successfully after a Live View crash/disconnect.
Solution
The bug was resolved in
Live View 1.0.0-rc.7
through commit 628f885. Unfortunately, this fix was not included in theLiveView ~> 0.20.7
release. Therefore, my question is: Would it be possible to backport the fix and release it as part of the 0.20.x series for users who are unable to upgrade to Live View 1.x.x?The text was updated successfully, but these errors were encountered: