diff --git a/src/component/control/textarea/index.js b/src/component/control/textarea/index.js index f756db7b..4a4810d8 100644 --- a/src/component/control/textarea/index.js +++ b/src/component/control/textarea/index.js @@ -55,11 +55,11 @@ export const Control_textarea = function({ }; if (min) { - this.textarea.min = min; + this.textarea.minLength = min; }; if (max) { - this.textarea.max = max; + this.textarea.maxLength = max; }; if (placeholder) {