Title: Unclear error message when incorrectly using (click) in template · Issue #10455 · angular/angular · GitHub
Open Graph Title: Unclear error message when incorrectly using (click) in template · Issue #10455 · angular/angular
X Title: Unclear error message when incorrectly using (click) in template · Issue #10455 · angular/angular
Description: I'm submitting a ... (check one with "x") [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 ...
Open Graph Description: I'm submitting a ... (check one with "x") [x ] bug report [x ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/...
X Description: I'm submitting a ... (check one with "x") [x ] bug report [x ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angu...
Opengraph URL: https://github.com/angular/angular/issues/10455
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unclear error message when incorrectly using (click) in template","articleBody":"**I'm submitting a ...** (check one with \"x\")\n\n```\n[x ] bug report\n[x ] feature request\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\n```\n\n**Current behavior**\nWhen using (click) incorrectly in the template, \ni.e\n\n```\n\u003cbutton (click)=\"\">\n```\n\nOne receives a very unclear error message that is hard to diagnose.\nError message:\n\n\n**Expected/desired behavior**\nA better error message, for the sake of newcomers to angular 2\n\n**Reproduction of the problem**\nIf 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).\n\n**What is the expected behavior?**\n\n**What is the motivation / use case for changing the behavior?**\n\n**Please tell us about your environment:**\nwindows 7\n- **Angular version:** 2.0.0-rc.4\n- **Browser:** [Chrome 51] \n- **Language:** [TypeScript ] \n","author":{"url":"https://github.com/Larisho","@type":"Person","name":"Larisho"},"datePublished":"2016-08-02T18:32:53Z","url":"https://github.com/angular/angular/issues/10455"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:305753d1-6af2-6672-16f3-48bdf6fa61b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2F0:6365:10179BE:157F7E8:6B011411 |
| html-safe-nonce | c63598f595e53fb4f6ec0c100cbf3d49e982d9e40de705c020e29e7bcc3cca34 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkYwOjYzNjU6MTAxNzlCRToxNTdGN0U4OjZCMDExNDExIiwidmlzaXRvcl9pZCI6IjgzMjg3MDE2NjA1MTE2NzEzMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8e9960c47dc57c1d43b557082b57ed06be9746c4f818ea11d8a3a18921fd0403 |
| hovercard-subject-tag | issue:168956110 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/10455/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4d670ae5324e5df8d45cb4a542fbd9dedf479d01fe09087ffc4429dcc78955b5/angular/angular/issues/10455 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4d670ae5324e5df8d45cb4a542fbd9dedf479d01fe09087ffc4429dcc78955b5/angular/angular/issues/10455 |
| og:image:alt | I'm submitting a ... (check one with "x") [x ] bug report [x ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Larisho |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width