Fix input types for the login page.

master
Tom Hacohen 7 years ago
parent fddf39244d
commit 154beee6d1

@ -135,7 +135,7 @@ export class EteSyncContext extends React.Component {
advancedSettings = ( advancedSettings = (
<div> <div>
<TextField <TextField
type="text" type="url"
errorText={this.state.errors.errorServer} errorText={this.state.errors.errorServer}
floatingLabelText="Server" floatingLabelText="Server"
ref={(input) => this.server = input as TextField} ref={(input) => this.server = input as TextField}
@ -176,7 +176,7 @@ export class EteSyncContext extends React.Component {
<h2>Please Log In</h2> <h2>Please Log In</h2>
<form style={styles.form} onSubmit={this.generateEncryption}> <form style={styles.form} onSubmit={this.generateEncryption}>
<TextField <TextField
type="text" type="email"
errorText={this.state.errors.errorEmail} errorText={this.state.errors.errorEmail}
floatingLabelText="Email" floatingLabelText="Email"
ref={(input) => this.username = input as TextField} ref={(input) => this.username = input as TextField}

Loading…
Cancel
Save