Skip to content

Commit

Permalink
fix(input): use all supported attributes on both textareas and inputs (
Browse files Browse the repository at this point in the history
  • Loading branch information
Manduro authored and manucorporat committed Jun 13, 2017
1 parent ef85ba6 commit 8041eed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" ' +
Expand All @@ -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>' +
Expand Down

0 comments on commit 8041eed

Please sign in to comment.