#658 disable auto-capitalisation of login/username field

fixes #658
This commit is contained in:
Denys Vuika 2016-09-01 11:44:14 +01:00
parent 65970dc272
commit ba72034b3d

View File

@ -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>