From db9183d2cf78ba35cae7bfb0806688208046e94b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Martin?= Date: Wed, 23 Jul 2025 22:51:21 +0200 Subject: [PATCH] Improve accessibility of form fields in AddEditUserDialog See https://mui.com/material-ui/api/text-field/ --- ui/src/user/AddEditUserDialog.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/src/user/AddEditUserDialog.tsx b/ui/src/user/AddEditUserDialog.tsx index cad98ce..2ee7812 100644 --- a/ui/src/user/AddEditUserDialog.tsx +++ b/ui/src/user/AddEditUserDialog.tsx @@ -56,6 +56,8 @@ export default class AddEditDialog extends Component { 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 { value={pass} fullWidth label={isEdit ? 'Pass (empty if no change)' : 'Pass *'} + name="password" + id="password" onChange={this.handleChange.bind(this, 'pass')} />