I\'m creating a custom element in Angular 2.0 (), and when I include the ngModel attribute on the component, I\'m immediately hit with the foll
I think you should use something else than ngModel for the parameter of your my-select component... Because it's already used by Angular2.
I made a try with model and it seems better... I don't have the error anymore.
Edit
If you want to handle ngModel at the level of your my-select component, you could have a look at this link: https://github.com/angular/angular/issues/2543.
If you want to implement an ngModel-compliant component, you could have a look at the following links:
Hope it helps you, Thierry