mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-21 12:42:05 +01:00
fix textarea min and max character length
This commit is contained in:
parent
5b5a0d4df9
commit
16f8eae44d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user