Closed SaeedZhiany closed 3 years ago
Currently, this component only picks four props of HTMLTextAreaElement, it would be great if we have also the disabled prop support. Thanks!
HTMLTextAreaElement
disabled
type PickedAttributes = "onChange" | "onSelect" | "onBlur" | "value"; export interface TextareaProps<TItem> extends Pick<React.InputHTMLAttributes<HTMLTextAreaElement>, PickedAttributes> { // other props }
It's already supported, my installed type definition package was an old version, upgraded to the latest and the problem has been resolved. I'm closing this issue.
Currently, this component only picks four props of
HTMLTextAreaElement
, it would be great if we have also thedisabled
prop support. Thanks!