🐛 No validation messages when saving, Dirty state not reset, Wrong page title validation

This commit is contained in:
Meier Lukas
2023-10-23 00:01:16 +02:00
parent fe0b34a6e4
commit 87a273c092
2 changed files with 4 additions and 3 deletions

View File

@@ -130,6 +130,7 @@ export default function CustomizationPage({
color: 'green',
icon: <IconCheck />,
});
form.resetDirty();
},
onError() {
updateNotification({
@@ -193,12 +194,12 @@ export default function CustomizationPage({
<Button
onClick={() => {
if (!form.isValid()) {
form.validate();
return;
}
handleSubmit(form.values);
}}
disabled={!form.isValid()}
loading={isLoading}
color="green"
>