-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Not able to pass data to angular component for angular 1.6.2 #15793
Comments
@snrweb This appears to be working for me: https://plnkr.co/edit/ngvCHCkw2yuSn9I46xUf?p=preview If you think my plunkr does not reproduce your use-case correctly, please modify it to reflect your issue. For support, please contact anyone through any of the ways mentioned at: |
@snrweb I guess, you stumbled upon this change: https://github.com/angular/angular.js/blob/master/CHANGELOG.md#breaking-changes |
@snrweb Are you accessing the input binding in the constructor ? If so, you need to move this to the It's possible to reset the preAssignBindingsEnabled value as to how it was in 1.5 (false) but be careful, it's going to get removed in future versions: #15782 so you're more future-proof by using the |
I'm pretty sure @frederikprijck and @healqq are right - please read the BC notes and change your code if necessary. If the problem still persists, please reopen issue with a demo. |
Whenever we are passing data using 'bindings' to angular component it is getting undefined.
This issue is reproducible for angular version 1.6.2 whereas it is working as expected for version 1.5.10. In my project I am also using angular-route and angular material (1.1.1).
Steps to reproduce:
The text was updated successfully, but these errors were encountered: