Add autocomplete fields to registration
This ensures password managers can properly save the form field's values.
This commit is contained in:
parent
9f3bbd888b
commit
629271fdce
|
|
@ -52,6 +52,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
|
||||||
label="Username *"
|
label="Username *"
|
||||||
name="username"
|
name="username"
|
||||||
value={name}
|
value={name}
|
||||||
|
autoComplete="username"
|
||||||
onChange={this.handleChange.bind(this, 'name')}
|
onChange={this.handleChange.bind(this, 'name')}
|
||||||
fullWidth
|
fullWidth
|
||||||
/>
|
/>
|
||||||
|
|
@ -64,6 +65,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
|
||||||
fullWidth
|
fullWidth
|
||||||
label="Password *"
|
label="Password *"
|
||||||
name="password"
|
name="password"
|
||||||
|
autoComplete="new-password"
|
||||||
onChange={this.handleChange.bind(this, 'pass')}
|
onChange={this.handleChange.bind(this, 'pass')}
|
||||||
/>
|
/>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue