Form state is lost when the dialog is closed. #893
Unanswered
RyanMcErlean
asked this question in
Help
Replies: 2 comments
-
have you found a solution for this problem? I experienced it too. |
Beta Was this translation helpful? Give feedback.
0 replies
-
What works for me is to add For example
Basically it will prevent the child component from unmounted. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I am using Dialog with Headless UI Vue. I have a form inside a dialog and I would like to give the user the option to open and close the form.
However, when the dialog is closed the form state is lost.
Normally I would wrap the component in keep-alive (Vue) but that doesn't seem to work. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions