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(material/datepicker): pass correct inject flags to injector #22665

Merged
merged 1 commit into from May 18, 2021

Commits on May 11, 2021

  1. fix(material/datepicker): pass correct inject flags to injector

    We have a call to `Injector.get` in the date range input which is supposed to fall back to `null` if the value doesn't resolve, however we're missing the `Optional` flag. It works by accident at the moment, because the inject flags aren't actually being passed through by the framework.
    
    angular/angular#41592 is supposed to fix the framework issue, but their CI will break due to our usage.
    
    These changes fix our usage in order to unblock the framework PR.
    crisbeto committed May 11, 2021
    Copy the full SHA
    3e8d892 View commit details
    Browse the repository at this point in the history