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 }}
Repository navigation
Unclear error message when incorrectly using (click) in template #10455
[x ] bug report
[x ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
When using (click) incorrectly in the template,
i.e
<button (click)="">
One receives a very unclear error message that is hard to diagnose.
Error message:
Expected/desired behavior
A better error message, for the sake of newcomers to angular 2
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Activity
ericmartinezr commentedon Aug 2, 2016
Dup of #3754, fixed in #10391
pkozlowski-opensource commentedon Aug 2, 2016
Yep, this was fixed just a day ago via e73d051. Thnx @ericmartinezr !
angular-automatic-lock-bot commentedon Sep 9, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.