Improve accessibility of form fields in AddEditUserDialog

See https://mui.com/material-ui/api/text-field/
This commit is contained in:
François Martin 2025-07-23 22:51:21 +02:00 committed by GitHub
parent f17710659b
commit db9183d2cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,8 @@ export default class AddEditDialog extends Component<IProps, IState> {
label="Name *"
type="email"
value={name}
name="username"
id="username"
onChange={this.handleChange.bind(this, 'name')}
fullWidth
/>
@ -66,6 +68,8 @@ export default class AddEditDialog extends Component<IProps, IState> {
value={pass}
fullWidth
label={isEdit ? 'Pass (empty if no change)' : 'Pass *'}
name="password"
id="password"
onChange={this.handleChange.bind(this, 'pass')}
/>
<FormControlLabel