fix: prompt when leaving page without saving changes on editable tables
This commit is contained in:
parent
d6ee635f22
commit
cce8289e22
1 changed files with 1 additions and 0 deletions
|
|
@ -198,6 +198,7 @@ const ETable = ({
|
||||||
validationSchema={validationSchema}
|
validationSchema={validationSchema}
|
||||||
onSubmit={innerSave}>
|
onSubmit={innerSave}>
|
||||||
<Form>
|
<Form>
|
||||||
|
<PromptWhenDirty />
|
||||||
<ERow
|
<ERow
|
||||||
lastOfGroup={isLastOfGroup}
|
lastOfGroup={isLastOfGroup}
|
||||||
editing={editingId === it.id}
|
editing={editingId === it.id}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue