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:
committed by
Jacob Overgaard
parent
8ea448f3e9
commit
35bbc472a6
@@ -73,6 +73,10 @@ export class UmbInputDocumentElement extends FormControlMixin(UmbLitElement) {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback();
|
||||
|
||||
this.addValidator(
|
||||
'rangeUnderflow',
|
||||
|
||||
Reference in New Issue
Block a user