Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Don't invalidate form based on initial data
Browse files Browse the repository at this point in the history
  • Loading branch information
SupaJoon committed Oct 16, 2023
1 parent a797ba9 commit 7e19b62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ export const getFormSchema = (
title: "Identifier",
default: "",
minLength: 1,
format: "noSpecialCharacters",
// Don't invalidate form based on initial data
format: identifierHasChanges
? "noSpecialCharacters"
: "noSpaces",
},
}),
batchTime: {
Expand Down

0 comments on commit 7e19b62

Please sign in to comment.