From 82c59b9828d0051fe73cdd2d0d6d9db401120481 Mon Sep 17 00:00:00 2001 From: Manduro Date: Tue, 13 Jun 2017 11:50:14 +0200 Subject: [PATCH] fix(input): use all supported attributes on both textareas and inputs --- src/components/input/input.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/input/input.ts b/src/components/input/input.ts index 6a13c658ba8..ca6f3e92143 100644 --- a/src/components/input/input.ts +++ b/src/components/input/input.ts @@ -98,6 +98,8 @@ import { Platform } from '../../platform/platform'; '[attr.max]="max" ' + '[attr.step]="step" ' + '[attr.maxlength]="maxlength" ' + + '[attr.autocomplete]="autocomplete" ' + + '[attr.autocorrect]="autocorrect" ' + '[attr.spellcheck]="spellcheck" ' + '[attr.autocapitalize]="autocapitalize" ' + '[placeholder]="placeholder" ' + @@ -110,6 +112,11 @@ import { Platform } from '../../platform/platform'; '(focus)="onFocus($event)" ' + '(keydown)="onKeydown($event)" ' + '[attr.name]="name" ' + + '[attr.maxlength]="maxlength" ' + + '[attr.autocomplete]="autocomplete" ' + + '[attr.autocorrect]="autocorrect" ' + + '[attr.spellcheck]="spellcheck" ' + + '[attr.autocapitalize]="autocapitalize" ' + '[placeholder]="placeholder" ' + '[disabled]="_disabled" ' + '[readonly]="_readonly">' +