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
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
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:
Create a component
Inject the module
Pass any variable to the component
Do the bindings using '<'
The variable is getting undefined from the component.
The text was updated successfully, but these errors were encountered:
@snrweb Are you accessing the input binding in the constructor ? If so, you need to move this to the $onInit hook as mentioned in @healqq 's link.
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 $onInit hook.
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: