fix(FE): refactor sales order form create

This commit is contained in:
randy-ar
2026-01-31 13:15:47 +07:00
parent d92a63db41
commit 70bb40d4f2
10 changed files with 1060 additions and 238 deletions
+3
View File
@@ -28,6 +28,7 @@ export interface TextAreaProps {
onChange?: ChangeEventHandler<HTMLTextAreaElement>;
onBlur?: FocusEventHandler<HTMLTextAreaElement>;
rows?: number;
ref?: React.RefObject<HTMLTextAreaElement | null>;
}
const TextArea = ({
@@ -49,6 +50,7 @@ const TextArea = ({
readOnly = false,
isLoading = false,
rows = 3,
ref,
}: TextAreaProps) => {
return (
<div
@@ -99,6 +101,7 @@ const TextArea = ({
onBlur={onBlur}
disabled={disabled}
readOnly={readOnly}
ref={ref}
/>
{(isLoading || endAdornment) && (