diff --git a/src/components/input/TextArea.tsx b/src/components/input/TextArea.tsx index b4a6c9f5..e9517277 100644 --- a/src/components/input/TextArea.tsx +++ b/src/components/input/TextArea.tsx @@ -31,7 +31,7 @@ export interface TextAreaProps { endAdornment?: ReactNode; onChange?: ChangeEventHandler; onBlur?: FocusEventHandler; - cols?: number; + rows?: number; } const TextArea = ({ @@ -52,7 +52,7 @@ const TextArea = ({ onBlur, readOnly = false, isLoading = false, - cols = 3 + rows = 3 }: TextAreaProps) => { return (
diff --git a/src/components/pages/master-data/supplier/form/SupplierForm.tsx b/src/components/pages/master-data/supplier/form/SupplierForm.tsx index e3a19177..74c4da27 100644 --- a/src/components/pages/master-data/supplier/form/SupplierForm.tsx +++ b/src/components/pages/master-data/supplier/form/SupplierForm.tsx @@ -348,7 +348,6 @@ const SupplierForm = ({ isError={formik.touched.address && Boolean(formik.errors.address)} errorMessage={formik.errors.address} readOnly={formType === 'detail'} - cols={8} />