mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-15 05:21:57 +00:00
Merge pull request #5110 from overleaf/jpa-de-ng-autofocus
[web] use HTML5 autofocus flag on all the input fields GitOrigin-RevId: 9a984abf09d5cd098f19c3d8c731961e881903c4
This commit is contained in:
parent
317f8fa73f
commit
780d5ca184
3 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@ block content
|
|||
name='email',
|
||||
required,
|
||||
placeholder='email@example.com',
|
||||
focus="true"
|
||||
autofocus="true"
|
||||
)
|
||||
.form-group
|
||||
input.form-control(
|
||||
|
|
|
@ -56,7 +56,7 @@ block content
|
|||
required,
|
||||
ng-model="email",
|
||||
ng-model-options="{ updateOn: 'blur' }",
|
||||
focus="true"
|
||||
autofocus="true"
|
||||
)
|
||||
span.small.text-primary(ng-show="registerForm.email.$invalid && registerForm.email.$dirty")
|
||||
| #{translate("must_be_email_address")}
|
||||
|
@ -100,7 +100,7 @@ block content
|
|||
required,
|
||||
ng-model="email",
|
||||
ng-model-options="{ updateOn: 'blur' }",
|
||||
focus="true"
|
||||
autofocus="true"
|
||||
)
|
||||
span.small.text-primary(ng-show="registerLdapForm.email.$invalid && registerLdapForm.email.$dirty")
|
||||
| #{translate("must_be_email_address")}
|
||||
|
@ -133,7 +133,7 @@ block content
|
|||
required,
|
||||
ng-model="email",
|
||||
ng-model-options="{ updateOn: 'blur' }",
|
||||
focus="true"
|
||||
autofocus="true"
|
||||
)
|
||||
span.small.text-primary(ng-show="registerSamlForm.email.$invalid && registerSamlForm.email.$dirty")
|
||||
| #{translate("must_be_email_address")}
|
||||
|
|
|
@ -51,7 +51,7 @@ block content
|
|||
required,
|
||||
ng-model="password",
|
||||
complex-password,
|
||||
focus="true"
|
||||
autofocus="true"
|
||||
)
|
||||
span.small.text-primary(ng-show="activationForm.password.$error.complexPassword", ng-bind-html="complexPasswordErrorMessage")
|
||||
.actions
|
||||
|
|
Loading…
Reference in a new issue