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
If you have a component that is based on a form, and you expect your form to be updated on a data coming from the parent component (using updateFromParent) you have all the chances your component will never see the method defined in onUpdated triggered because your form may be invalid and therefore cancel any update of the component.
I noticed it is the origin of many weird errors (of data disappearing for example).
I suggest everybody to fix it this way:
// Constructor of my componentpublicfunction__construct()
{
// Avoid submitting sometimes empty data// also avoid so much errors$this->shouldAutoSubmitForm = false;
}