-
Notifications
You must be signed in to change notification settings - Fork 25.9k
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
[(ngModel)] binding breaks if template includes specific element #13886
Comments
Pls add:
|
Added to original ^ |
Please include instructions as to where do I click, what should I see, what should happen, otherwise we spend too much time reverse engineering your intent. |
Hi @mhevery, |
@kara can you take a look at this? |
@AsherBarak Thanks for reporting! This is a bug in md-select, so I'll close this in core and retain the existing issue in the material2 repo, angular/components#2609. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Observed behavior
When implementing
ControlValueAccessor
and includingmd-select
(from angular-material2) in the templateControlValueAccessor
methods are not invoked and banana-binding does not work.Desired behaviour
When implementing
ControlValueAccessor
and includingmd-select
(from angular-material2) in the templateControlValueAccessor
methods are invoked and banana-binding works.Steps to reproduce
This plunker contains tow identical components where the only difference is the inclusion of md-select in the template of 'with-select' component. This brakes banana binding as described.
ControlValueAccessor
methods onno-select
component:app.component
includes bothno-select
andwith-select
components:Where the only differences is that
with-select
hasmd-select
in it's template:and yet all
ControlValueAccessor
methods calls for thewith-select
component are missing from the log (and binding is not functioning).See also
angular/components#2609
The text was updated successfully, but these errors were encountered: