Skip to content

Commit

Permalink
#658 disable auto-capitalisation of login/username field
Browse files Browse the repository at this point in the history
fixes #658
  • Loading branch information
Denys Vuika committed Sep 1, 2016
1 parent 65970dc commit ba72034
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@
<div [ngClass]="{'is-invalid': isErrorStyle(form.controls.username)}"
class="center mdl-textfield mdl-js-textfield mdl-textfield--floating-label ">
<label for="username" class="mdl-textfield__label">{{'LOGIN.LABEL.USERNAME' | translate }}</label>
<input type="text" class="mdl-textfield__input" id="username" data-automation-id="username" ngControl="username" tabindex="1" />
<input
type="text"
class="mdl-textfield__input"
id="username"
data-automation-id="username"
ngControl="username"
tabindex="1"
autocapitalize="none"/>
<span class="mdl-tooltip--validation" for="username" *ngIf="formError.username">
<span id="username-error" class="mdl-textfield__error" style="visibility: visible" data-automation-id="username-error">{{formError.username | translate }}</span>
</span>
Expand Down

0 comments on commit ba72034

Please sign in to comment.