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

EVG-20817: Don't invalidate General project settings form based on initial project identifier #2104

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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