angular/packages/forms/src
Kristiyan Kostadinov c3968047b6 refactor(forms): make error messages easier to tree shake (#43223)
Currently the error message functions are defined as static methods on a class which means that as soon as one of them is used somewhere, all of them have to be retained. This isn't a problem at the moment, because all of them are behind `ngDevMode` checks, but it's error prone and it's easy to fix.

These changes move them out into functions so that they can be imported individually. It also has the advantage of allowing Webpack to minify the function names.

PR Close #43223
2021-08-26 10:05:36 -07:00
..
directives refactor(forms): make error messages easier to tree shake (#43223) 2021-08-26 10:05:36 -07:00
directives.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:14 -07:00
form_builder.ts perf(forms): make FormBuilder class tree-shakable (#41126) 2021-03-16 09:35:14 -07:00
form_providers.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:14 -07:00
forms.ts feat(forms): introduce min and max validators (#39063) 2021-02-08 09:34:50 -08:00
model.ts feat(forms): Make Form Statuses use stricter types. (#42952) 2021-08-04 16:28:20 -07:00
validators.ts feat(forms): add hasValidators, addValidators, and removeValidators methods (for both sync and async) (#42838) 2021-07-22 16:31:00 +00:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00