diff --git a/src/components/pages/report/finance/tab/DebtSupplierTab.tsx b/src/components/pages/report/finance/tab/DebtSupplierTab.tsx index 14fccffa..c5065d29 100644 --- a/src/components/pages/report/finance/tab/DebtSupplierTab.tsx +++ b/src/components/pages/report/finance/tab/DebtSupplierTab.tsx @@ -678,7 +678,13 @@ const DebtSupplierTab = () => { placeholder='Pilih Supplier' isMulti options={supplierOptions} - value={formik.values.supplierIds || []} + value={ + (formik.values.supplierIds as + | { value: number; label: string } + | { value: number; label: string }[] + | null + | undefined) || [] + } onChange={(val) => { formik.setFieldValue( 'supplierIds', @@ -702,7 +708,13 @@ const DebtSupplierTab = () => { label='Filter Berdasarkan' placeholder='Pilih Filter Berdasarkan' options={dataTypeOptions} - value={formik.values.filterBy || null} + value={ + (formik.values.filterBy as + | { value: string; label: string } + | { value: string; label: string }[] + | null + | undefined) || null + } onChange={(val) => { formik.setFieldValue( 'filterBy',