jeudi 6 mars 2014

Bootstrap-enhanced form fields: need browser to offer save password


Vote count:

0




I have a following html code (Jade syntax) that employs some bootstrap and angular. I must keep bootstrap parts.



div.form-group
label(for='userIdInput' id='userIdLabel') User Id:
input.form-control(type='email' placeholder='login here' id='userIdInput' name='userIdInput'
ng-model='credentials.userName' ng-maxlength='{{userNameMaxLen}}'
required form-control)
div.form-group
label(for='passwordInput' id='passwordLabel') Password:
input.form-control(type='password' placeholder='password' id='passwordInput'
name='passwordInput' ng-model='credentials.password'
ng-maxlength='{{passwordMaxLen}}'
required form-control)
div
button.btn.btn-primary.btn-lg(ng-click= 'login(credentials)' id='loginButton'
ng-disabled='!loginForm.$valid') Login


and it does NOT offer in browser to "save password" when I log in. How do I fix this?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire