mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +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()
|
supplier_id: Yup.number()
|
||||||
.optional()
|
.optional()
|
||||||
.nullable()
|
.nullable()
|
||||||
.min(1, 'Supplier wajib diisi!')
|
|
||||||
.typeError('Supplier harus berupa angka!'),
|
.typeError('Supplier harus berupa angka!'),
|
||||||
products: Yup.array()
|
products: Yup.array()
|
||||||
.of(DeliveryProductObjectSchema)
|
.of(DeliveryProductObjectSchema)
|
||||||
|
|||||||
Reference in New Issue
Block a user