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
I am using Material-ui with Formik and on one of the form, I use a modal dialog to add\update\delete certain values which are part of a material-table table inside my Formik form. When user performs any action e.g. adding a row to this table or updates any data, the main Formik form doesn't update the dirty or touched as none of the Formik fields have been updated. I was to set at least one of these values i.e. dirty\touched to true when user takes any action in the modal dialog form and presses 'Save' in the dialog.. how do I achieve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using Material-ui with Formik and on one of the form, I use a modal dialog to add\update\delete certain values which are part of a material-table table inside my Formik form. When user performs any action e.g. adding a row to this table or updates any data, the main Formik form doesn't update the dirty or touched as none of the Formik fields have been updated. I was to set at least one of these values i.e. dirty\touched to true when user takes any action in the modal dialog form and presses 'Save' in the dialog.. how do I achieve this?
Beta Was this translation helpful? Give feedback.
All reactions