mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
fix(FE): refactor sales order form create
This commit is contained in:
@@ -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) && (
|
||||
|
||||
Reference in New Issue
Block a user