You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside MyFieldset there is a textbox. When I click on cancel button, the control still being on validating process. I suppose that mobx observables are unmounted too late so when the validation process finishes, the control no longer exists.
I think there must be a method that allows the form to be destroyed in the component unmounting process or something similar.
Best regards.
The text was updated successfully, but these errors were encountered:
Hi,
My code:
Demo steps:
(Sorry, cannot upload images)
Unhandled rejection Error: Validation Error: Invalid Field Instance
at Q (https://foxhound87.github.io/mobx-react-form-demo/main.js:15:1346)
at A.e (https://foxhound87.github.io/mobx-react-form-demo/main.js:15:1231)
at Q (https://foxhound87.github.io/mobx-react-form-demo/main.js:15:1346)
at A.e (https://foxhound87.github.io/mobx-react-form-demo/main.js:15:1231)
at t.validate (https://foxhound87.github.io/mobx-react-form-demo/main.js:40:26827)
at i (https://foxhound87.github.io/mobx-react-form-demo/main.js:35:28269)
at T (https://foxhound87.github.io/mobx-react-form-demo/main.js:35:28558)
at u (https://foxhound87.github.io/mobx-react-form-demo/main.js:35:28491)
Inside MyFieldset there is a textbox. When I click on cancel button, the control still being on validating process. I suppose that mobx observables are unmounted too late so when the validation process finishes, the control no longer exists.
I think there must be a method that allows the form to be destroyed in the component unmounting process or something similar.
Best regards.
The text was updated successfully, but these errors were encountered: