Skip to content

Commit

Permalink
fix(datepicker): handle multiple input changes once
Browse files Browse the repository at this point in the history
Previously internally calling

```ts
service.minDate = ...;
service.maxDate = ...;
```
resulted in two observable emissions, one per input change.

Now the API is changed to:

```ts
service.set({minDate: ..., maxDate: ...})
```

which results in a single emission for any number of inputs changed at the same time.

Fixes ng-bootstrap#3545
  • Loading branch information
maxokorokov committed Jan 27, 2020
1 parent 4f61496 commit c331cb0
Show file tree
Hide file tree
Showing 4 changed files with 235 additions and 197 deletions.

0 comments on commit c331cb0

Please sign in to comment.