mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Remove min validation on supplier_id
This commit is contained in:
@@ -153,7 +153,6 @@ const DeliveryObjectSchema: Yup.ObjectSchema<DeliverySchema> = Yup.object({
|
||||
supplier_id: Yup.number()
|
||||
.optional()
|
||||
.nullable()
|
||||
.min(1, 'Supplier wajib diisi!')
|
||||
.typeError('Supplier harus berupa angka!'),
|
||||
products: Yup.array()
|
||||
.of(DeliveryProductObjectSchema)
|
||||
|
||||
Reference in New Issue
Block a user