Skip to content

Commit

Permalink
Email text fields: show email keyboard on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurray authored and tahini committed Oct 26, 2023
1 parent 2f5a6f4 commit 58cb61b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export class RegisterForm extends React.Component<RegisterFormProps & WithTransl
name="email"
id="email"
type="text"
inputMode="email"
className="apptr__form-input apptr__form-input-string apptr__input apptr__input-string"
autoFocus
value={this.state.email}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class LoginPage extends React.Component<LoginPageProps & WithTranslation,
<input
name="email"
id="email"
inputMode="email"
type="text"
placeholder={this.props.t(['survey:auth:EmailPlaceholder', 'auth:EmailPlaceholder'])}
className="apptr__form-input apptr__form-input-string apptr__input apptr__input-string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export class ForgotPasswordPage extends React.Component<ForgotPasswordPageProps,
name="email"
id="email"
type="text"
inputMode="email"
className="apptr__form-input apptr__form-input-string apptr__input apptr__input-string"
autoFocus
value={this.state.email}
Expand Down

0 comments on commit 58cb61b

Please sign in to comment.