fix: fix onInputChange of kandang select input

This commit is contained in:
ValdiANS
2025-12-31 13:10:58 +07:00
parent 84eb34a9dd
commit 1b7e8a342f
@@ -421,8 +421,8 @@ const WarehouseForm = ({ type = 'add', initialValues }: WarehouseFormProps) => {
value={formik.values.kandang ?? undefined}
onChange={kandangChangeHandler}
options={kandangOptions}
onInputChange={setLocationSelectInputValue}
isLoading={isLoadingLocations}
onInputChange={setKandangSelectInputValue}
isLoading={isLoadingKandangs}
isError={
formik.touched.kandangId && Boolean(formik.errors.kandangId)
}