angular/packages/forms/test
Kristiyan Kostadinov 4a13210ecd fix(forms): don't prevent default behavior for forms with method="dialog" (#47308)
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
2022-09-09 14:26:48 -07:00
..
BUILD.bazel build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
directives_spec.ts fix(forms): Move all remaining errors in Forms to use RuntimeErrorCode. (#46654) 2022-07-06 09:49:39 -07:00
form_array_spec.ts feat(forms): Implement strict types for the Angular Forms package. (#43834) 2022-04-12 17:37:04 +00:00
form_builder_spec.ts feat(forms): add FormBuilder.record() method (#46485) 2022-07-15 22:02:44 +00:00
form_control_spec.ts fix(forms): Update a Forms validator error to use RuntimeError (#46537) 2022-06-28 11:32:54 -07:00
form_group_spec.ts feat(forms): Implement strict types for the Angular Forms package. (#43834) 2022-04-12 17:37:04 +00:00
reactive_integration_spec.ts fix(forms): don't prevent default behavior for forms with method="dialog" (#47308) 2022-09-09 14:26:48 -07:00
template_integration_spec.ts fix(forms): don't prevent default behavior for forms with method="dialog" (#47308) 2022-09-09 14:26:48 -07:00
typed_integration_spec.ts fix(forms): Correctly infer FormBuilder types involving [value, validators] shorthand in more cases. (#47034) 2022-08-17 11:32:15 +00:00
util.ts refactor(forms): remove unnecesary null (#47238) 2022-09-06 09:57:37 -07:00
validators_spec.ts fix(forms): Correct empty validator to handle objects with a property length: 0. (#33729) 2022-02-03 23:15:27 -08:00
value_accessor_integration_spec.ts fix(forms): ensure OnPush ancestors are marked dirty when the promise resolves (#44886) 2022-01-31 21:38:39 +00:00