mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
80c66a1e57
The forms `submit` event handlers have a `return false` to prevent form submissions from reloading the page, however this also prevents the browser behavior for forms with `method="dialog"`. These changes add an exception since the `method="dialog"` doesn't refresh the page. Fixes #47150. PR Close #47308