show default copy job name (#2266)

This commit is contained in:
BChoudhury-ms
2025-11-27 10:34:08 +05:30
committed by GitHub
parent a33429fd85
commit bb0bbd8a6e
4 changed files with 50 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ function useCreateCopyJobScreensList() {
validations: [
{
validate: (state: CopyJobContextState) =>
!!(typeof state?.jobName === "string" && state?.jobName && /^[a-zA-Z0-9-.]+$/.test(state?.jobName)),
!!(typeof state?.jobName === "string" && state?.jobName && /^[a-zA-Z0-9-._]+$/.test(state?.jobName)),
message: "Please enter a job name to proceed",
},
],