Skip to content

Commit

Permalink
fix: remove first updated form element (#168)
Browse files Browse the repository at this point in the history
* fix: remove first updated from form element

* build: coverage update
  • Loading branch information
JasperVandenberghen authored May 24, 2022
1 parent d59d58d commit 943c959
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,13 @@ export class FormElementComponent<T> extends RxLitElement {
})
));

}

}
if (this.inputSlot && this.field && this.data) {

protected firstUpdated(changed: PropertyValues): void {
this.bindActorToInput(this.inputSlot, this.actor, this.field, this.data);

super.firstUpdated(changed);
}

this.bindActorToInput(this.inputSlot, this.actor, this.field, this.data);
}

}

Expand Down
2 changes: 1 addition & 1 deletion packages/dgt-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"coverageThreshold": {
"global": {
"branches": 76.19,
"functions": 74.15,
"functions": 74.01,
"lines": 88.11,
"statements": 88.5
}
Expand Down

0 comments on commit 943c959

Please sign in to comment.