feat(84-85-86-87-88-89-102): create feature project flocks and adjust master data flock feature

This commit is contained in:
randy-ar
2025-10-16 16:49:44 +07:00
parent e2b35e765c
commit 5113bf4d3f
16 changed files with 1207 additions and 19 deletions
@@ -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>;