Skip to content

Commit

Permalink
feat(input): Adicionar suporte a propriedade name.
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamAguera committed May 26, 2017
1 parent 1d52692 commit 2ee3006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/input.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<span *ngIf="textBefore" class="addon -borderleft"
[ngClass]="{'predefined' : textBefore}">{{textBefore}}</span>
<input #input class="field"
attr.name="{{name}}"
[(ngModel)]="value" type="text"
(keydown)="onKeyInput($event)"
(ngModelChange)="onInputChange($event)"
(blur)="onBlur()"
[ngClass]="{'-cursorblocked' : readonly || disabled, '-disabled': disabled, '-readonly': readonly}"
[readonly]="readonly ? true : null"
[name]="name"
[disabled]="disabled ? true : null"
[ngModelOptions]="{standalone: true}"
[placeholder]="placeholder">
Expand Down

0 comments on commit 2ee3006

Please sign in to comment.