From b70d4042d2d3ee15ce5c3c1878bf417212cf352d Mon Sep 17 00:00:00 2001 From: cbourget Date: Mon, 26 Aug 2019 12:29:54 -0400 Subject: [PATCH] feat(form): form autocomplete may now be disabled --- packages/common/src/lib/form/form/form.component.html | 1 + packages/common/src/lib/form/form/form.component.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/packages/common/src/lib/form/form/form.component.html b/packages/common/src/lib/form/form/form.component.html index 10dcab580e..79d346895c 100644 --- a/packages/common/src/lib/form/form/form.component.html +++ b/packages/common/src/lib/form/form/form.component.html @@ -1,5 +1,6 @@
diff --git a/packages/common/src/lib/form/form/form.component.ts b/packages/common/src/lib/form/form/form.component.ts index cb673c3d72..2031c8f846 100644 --- a/packages/common/src/lib/form/form/form.component.ts +++ b/packages/common/src/lib/form/form/form.component.ts @@ -36,6 +36,11 @@ export class FormComponent implements OnChanges { */ @Input() formData: { [key: string]: any}; + /** + * Form autocomplete + */ + @Input() autocomplete: string = 'off'; + /** * Event emitted when the form is submitted */