Skip to content

Commit

Permalink
fix(input): use correct status property name (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Mar 3, 2020
1 parent 899815f commit 737ffe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/theme/components/input/input.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export class NbInputDirective implements DoCheck, OnChanges, OnInit, OnDestroy,
}
}

ngOnChanges({ fieldStatus, fieldSize }: SimpleChanges) {
ngOnChanges({ status, fieldSize }: SimpleChanges) {
if (status) {
this.status$.next(this.status);
}
Expand Down

0 comments on commit 737ffe2

Please sign in to comment.