fix: fix Textarea trying to clear this.input

Co-authored-by: David Larlet <david@larlet.fr>
This commit is contained in:
Yohan Boniface 2025-04-07 18:09:35 +02:00
parent 190cac3105
commit 06baeb718e

View file

@ -152,7 +152,9 @@ Fields.Textarea = class extends BaseElement {
this.textarea.value = value
}
}
clear() {
this.textarea.value = ''
}
value() {
return this.textarea.value
}