You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(material/autocomplete): don't assign to model value while typing when requireSelection is enabled (#27572)
Follow-up to #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.
Copy file name to clipboardExpand all lines: src/components-examples/material/autocomplete/autocomplete-require-selection/autocomplete-require-selection-example.css
Copy file name to clipboardExpand all lines: src/components-examples/material/autocomplete/autocomplete-require-selection/autocomplete-require-selection-example.html
0 commit comments