use MirrorValidator

This commit is contained in:
konnorrogers
2024-02-29 14:24:13 -05:00
parent 867184bdfe
commit df83dc2cf9

View File

@@ -49,7 +49,9 @@ export default class WaTextarea extends LitTextareaMixin(WebAwesomeElement) impl
static styles: CSSResultGroup = styles;
static shadowRootOptions = {...LitElement.shadowRootOptions, delegatesFocus: true};
// static get validators () { return [MirrorValidator] }
// MirrorValidator uses the internal native `<textarea>`, however, it does have some issues when used with programmatic validation.
static get validators () { return [MirrorValidator] }
static get properties () {
return {