Skip to content

Commit

Permalink
Update Textarea.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
zignis committed Sep 8, 2022
1 parent d69d7db commit 73d45fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Textarea/Textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,12 @@ const Textarea = React.forwardRef(function Textarea(inProps, ref) {

const textareaProps = useSlotProps({
elementType: TextareaInput,
externalSlotProps: componentsProps.textarea,
getSlotProps: (otherHandlers: EventHandlers) =>
getInputProps({ ...otherHandlers, ...propsToForward }),
externalSlotProps: {
minRows,
maxRows,
...componentsProps.textarea,
},
ownerState,
className: [classes.textarea, inputStateClasses],
Expand Down

0 comments on commit 73d45fe

Please sign in to comment.