Input Document: Moved constructor code

to `connectedCallback`, as attribute properties for configuration
values, such as min/max, haven't been set at the point of execution.
This commit is contained in:
leekelleher
2024-01-04 15:30:47 +00:00
committed by Jacob Overgaard
parent 8ea448f3e9
commit 35bbc472a6

View File

@@ -73,6 +73,10 @@ export class UmbInputDocumentElement extends FormControlMixin(UmbLitElement) {
constructor() {
super();
}
connectedCallback() {
super.connectedCallback();
this.addValidator(
'rangeUnderflow',