fix(input): use all supported attributes on both textareas and inputs (#12028)

This commit is contained in:
Job
2017-06-13 12:15:51 +02:00
committed by Manu MA
parent ef85ba6c1f
commit 8041eedf22

View File

@@ -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"></textarea>' +