Improve accessibility of form fields in Register
See https://mui.com/material-ui/api/text-field/
This commit is contained in:
parent
fc84fb3c8b
commit
956d9025b4
|
|
@ -46,21 +46,25 @@ export default class RegistrationDialog extends Component<IProps, IState> {
|
|||
<DialogContent>
|
||||
<TextField
|
||||
autoFocus
|
||||
id="register-username"
|
||||
margin="dense"
|
||||
className="name"
|
||||
label="Name *"
|
||||
name="username"
|
||||
type="email"
|
||||
value={name}
|
||||
onChange={this.handleChange.bind(this, 'name')}
|
||||
fullWidth
|
||||
/>
|
||||
<TextField
|
||||
id="register-password"
|
||||
margin="dense"
|
||||
className="password"
|
||||
type="password"
|
||||
value={pass}
|
||||
fullWidth
|
||||
label="Pass *"
|
||||
name="password"
|
||||
onChange={this.handleChange.bind(this, 'pass')}
|
||||
/>
|
||||
</DialogContent>
|
||||
|
|
|
|||
Loading…
Reference in New Issue