mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 06:45:46 +00:00
feat(84-85-86-87-88-89-102): create feature project flocks and adjust master data flock feature
This commit is contained in:
@@ -4,11 +4,11 @@ export const FlockFormSchema = Yup.object({
|
||||
name: Yup.string()
|
||||
.required('Nama wajib diisi!')
|
||||
.matches(
|
||||
/^[a-zA-Z0-9]+$/,
|
||||
'Nama hanya boleh berisi huruf dan angka (tanpa spasi atau simbol)'
|
||||
/^[\p{L}\p{N}\s]+$/u,
|
||||
'Nama tidak boleh mengandung simbol'
|
||||
),
|
||||
});
|
||||
|
||||
export const UpdateFlockFormSchema = FlockFormSchema;
|
||||
|
||||
export type FlockFormValues = Yup.InferType<typeof FlockFormSchema>;
|
||||
export type FlockFormValues = Yup.InferType<typeof FlockFormSchema>;
|
||||
|
||||
Reference in New Issue
Block a user