I created a sandbox here: f7-popup-bugs (forked) - CodeSandbox
From a parent file and a child component (Popup). i’m creating a simple submit form.
Form state is cleared after submission, but inside the Popup data still remains.
I created a sandbox here: f7-popup-bugs (forked) - CodeSandbox
From a parent file and a child component (Popup). i’m creating a simple submit form.
Form state is cleared after submission, but inside the Popup data still remains.
inputs’ values are not bound to anything (using value
prop) so don’t expect it to work
So I’d need to pass data state object to popup?
I passed state parent’s obj to popup child but without success…