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/autocomplete): don't assign to model value while typing when requireSelection is enabled #27572

Merged

Commits on Aug 3, 2023

  1. fix(material/autocomplete): don't assign to model value while typing …

    …when requireSelection is enabled
    
    Follow-up to angular#27423 based on the feedback. Usually `mat-autocomplete` assigns to the model as the user is typing which may not be desired when `requireSelection` is enabled, because at the end of the selection either an option value will set or it'll be reset.
    
    These changes add a condition so that the value isn't assigned while typing and `requireSelection` is enabled.
    crisbeto committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    e342192 View commit details
    Browse the repository at this point in the history