angular-cn/packages/forms/src
arturovt 7954c8dfa3 perf(forms): use `ngDevMode` to tree-shake `_ngModelWarning` (#39964)
This commit adds `ngDevMode` guard to call `_ngModelWarning` only
in dev mode (similar to how things work in other parts of Ivy runtime code).
The `ngDevMode` flag helps to tree-shake this function from production builds
(since it will act as no-op, in dev mode everything will work as it works right now)
to decrease production bundle size.

PR Close #39964
2020-12-04 16:08:02 -08:00
..
directives perf(forms): use `ngDevMode` to tree-shake `_ngModelWarning` (#39964) 2020-12-04 16:08:02 -08:00
directives.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
form_builder.ts docs: improve FormBuilder.group deprecation message (#39946) 2020-12-04 10:18:48 -08:00
form_providers.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
forms.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
model.ts docs(forms): fix example 'Reset the form group values and disabled status' (#33137) 2020-12-02 11:14:25 -08:00
validators.ts fix(forms): remove validators while cleaning up a control (#39234) 2020-11-04 10:58:24 -08:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00