mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(input): use all supported attributes on both textareas and inputs (#12028)
This commit is contained in:
@@ -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>' +
|
||||
|
||||
Reference in New Issue
Block a user