fix textarea min and max character length

This commit is contained in:
zombieFox
2021-09-05 14:34:21 +01:00
parent 5b5a0d4df9
commit 16f8eae44d

View File

@ -55,11 +55,11 @@ export const Control_textarea = function({
}; };
if (min) { if (min) {
this.textarea.min = min; this.textarea.minLength = min;
}; };
if (max) { if (max) {
this.textarea.max = max; this.textarea.maxLength = max;
}; };
if (placeholder) { if (placeholder) {