-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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 does not work with custom angular components #3076
Comments
Turns out it is not an issue |
How did you solve this @vsavkin ? |
Other question. Update input type="text" using NgModel doesn't invoke ngOnChanges(changes) { ? |
@danicomas In fact you can leverage bidirectional binding on custom components but you don't need to use
With this, you will be able to use the syntax
Hope it helps you, |
@danicomas That sounds defiant ;-) Why do you want to update the ng-model? |
@danicomas regarding your question on |
@antonmoiseev Good answer about binding ngOnChanges. It is a little bit strange because ng-model could be considered a binding. @vsavkin @vicb @pkozlowski-opensource @jeffbcross Now we will have to solve the ng-model in child components... |
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. |
Fix it
The text was updated successfully, but these errors were encountered: