Skip to content

Commit

Permalink
fix(core/range): range field must call base class ngOnInit method
Browse files Browse the repository at this point in the history
  • Loading branch information
trik committed Sep 20, 2021
1 parent 09e35bb commit 11e0eed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/range/range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ export abstract class AjfRange extends AjfBaseFieldComponent<AjfRangeFieldInstan
}
}

ngOnInit(): void {
override ngOnInit(): void {
super.ngOnInit();
if (this.instance != null && this.instance.node != null) {
const node = this.instance.node;
if (node.end != null) {
Expand Down

0 comments on commit 11e0eed

Please sign in to comment.