We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec9a643 commit 6e77c1fCopy full SHA for 6e77c1f
src/components/input/TextArea.tsx
@@ -65,7 +65,6 @@ const TextArea = ({
65
);
66
67
let val = fixControlledValue(value) as string;
68
- // Max length value
69
const hasMaxLength = Number(maxLength) > 0;
70
val = hasMaxLength ? [...val].slice(0, maxLength).join('') : val;
71
// Only show text area wrapper when needed
0 commit comments