fix(FE): change hatchery to optional in master data supplier

This commit is contained in:
randy-ar
2025-12-29 13:26:39 +07:00
parent ea7f8a68f4
commit cd42bd6bc0
3 changed files with 9 additions and 10 deletions
@@ -18,7 +18,7 @@ export const SupplierFormSchema = Yup.object({
value: Yup.string().required(),
label: Yup.string().required(),
}).required('Tipe wajib diisi!'),
hatchery: Yup.string().required('Hatchery wajib diisi!'),
hatchery: Yup.string().optional(),
phone: Yup.string()
.matches(/^[0-9]+$/, 'Nomor telepon hanya boleh berisi angka!')
.min(10, 'Nomor telepon minimal 10 digit!')