Replies: 1 comment
-
|
Hi @drSun The state is preserved unless specifically deleted. For example, if you would call the following code: It would close the modal and forget the EditUser instance. You can also set this on the component itself, this will remove the state whenever the modal is closed: |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the Wire Elements Pro modal and have encountered a problem:
I've tried various options, updating in mount(), etc., but nothing works with the child modal, mount() method is called at first opening only, not next openings; the modal seems completely cached. I could create an Update button and manually click it, calling the updateParam method, and then, yes, the value will change.
It would be great to call this updateParam method every time the child modal is opened, but the documentation doesn't explain how to do that.
Perhaps this is a bug, and is there a way to disable this strange caching of the second modal window?
Beta Was this translation helpful? Give feedback.
All reactions