mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-06-30 22:30:38 +02:00
fix textarea min and max character length
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user