Skip to content

Commit 43d8b79

Browse files
BUG: Fixed issue where setting the value of a textarea would not update the validation
1 parent 563ff1f commit 43d8b79

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/vscode-textarea/vscode-textarea.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ export class VscodeTextarea
115115
set value(val: string) {
116116
this._value = val;
117117
this._internals.setFormValue(val);
118+
this.updateComplete.then(() => {
119+
this._setValidityFromInput();
120+
});
118121
}
119122

120123
get value(): string {

0 commit comments

Comments
 (0)