Skip to content

Commit

Permalink
fix(datepicker): mark picker for check after patching inputs
Browse files Browse the repository at this point in the history
First cd run occurs when picker class instantiated so changes
made after in the `patchWithInputs` call won't be picked up.
  • Loading branch information
yggg committed Oct 1, 2020
1 parent d0850d4 commit f5e2a82
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ export abstract class NbBasePicker<D, T, P> extends NbDatepicker<T> {
this.subscribeOnValueChange();
this.writeQueue();
this.patchWithInputs();
this.pickerRef.changeDetectorRef.markForCheck();
}

protected createPositionStrategy(): NbAdjustableConnectedPositionStrategy {
Expand Down

0 comments on commit f5e2a82

Please sign in to comment.