Title: event 'search' fired twice for input[type=search] · Issue #49114 · angular/angular · GitHub
Open Graph Title: event 'search' fired twice for input[type=search] · Issue #49114 · angular/angular
X Title: event 'search' fired twice for input[type=search] · Issue #49114 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core, forms Is this a regression? No Description Hello, Component has @output() called 'search' and in template. Next I typed some te...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core, forms Is this a regression? No Description Hello, Component has @output() called 'search' and
X Description: Which @angular/* package(s) are the source of the bug? core, forms Is this a regression? No Description Hello, Component has @output() called 'search' and <input type="search" ...
Opengraph URL: https://github.com/angular/angular/issues/49114
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"event 'search' fired twice for input[type=search]","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\ncore, forms\r\n\r\n### Is this a regression?\r\n\r\nNo\r\n\r\n### Description\r\n\r\nHello,\r\n\r\nComponent has @Output() called 'search' and \u003cinput type=\"search\" (keydown.enter)=\"test()\" /> in template.\r\nNext I typed some text into input and press 'enter' button. After that event 'search' from component was fired twice.\r\nSame situation when after typing test I pressed clear button in input then event 'search' from component fired once.\r\n\r\nThe problem is the mutual influence of the component and input event.\r\nI only noticed the problem in Chrome.\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\nhttps://stackblitz.com/edit/angular-2uvx3f\r\n\r\n### Please provide the exception or error you saw\r\n\r\n_No response_\r\n\r\n### Please provide the environment you discovered this bug in (run `ng version`)\r\n\r\n_No response_\r\n\r\n### Anything else?\r\n\r\n_No response_","author":{"url":"https://github.com/piotrroda","@type":"Person","name":"piotrroda"},"datePublished":"2023-02-16T14:49:39Z","url":"https://github.com/angular/angular/issues/49114"}
| 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:a4b35c75-48e3-23ff-b9d0-694c2ce26d84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D50C:14F601:1306261:1847874:6B010DE8 |
| html-safe-nonce | 64cbd7022fa48af605218a496bc0a11965b78ec9bd25f74dfd074e9c5a019713 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTBDOjE0RjYwMToxMzA2MjYxOjE4NDc4NzQ6NkIwMTBERTgiLCJ2aXNpdG9yX2lkIjoiNDMwNTA4ODQ2NTUzNzY2NjUzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 462f421c237252acae6da2f11679eafc47bb194ecd4904215a66ef4ac14efc9f |
| hovercard-subject-tag | issue:1587814977 |
| 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/49114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/88c0a0fad7ca495ae9b468f74be311716a0bfa97ff2f91fa531115953dcd515e/angular/angular/issues/49114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/88c0a0fad7ca495ae9b468f74be311716a0bfa97ff2f91fa531115953dcd515e/angular/angular/issues/49114 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core, forms Is this a regression? No Description Hello, Component has @output() called 'search' and |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | piotrroda |
| 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