mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
Merge branch 'dev/hotfix/restu' into 'development'
[FIX/FE] Change Required Field to Optional on Delivery Supplier Field (Transfer Stock) See merge request mbugroup/lti-web-client!263
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