Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(datepicker): handle multiple input changes once #3565

Commits on Jan 27, 2020

  1. fix(datepicker): handle multiple input changes once

    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
    maxokorokov committed Jan 27, 2020
    Copy the full SHA
    bb03aab View commit details
    Browse the repository at this point in the history