Add helper text to deactivate switch of users (#31)

This commit is contained in:
Manuel Stahl 2020-04-06 11:13:20 +02:00
parent 7ef6bc05c6
commit 185d71e5fc
3 changed files with 11 additions and 1 deletions

View file

@ -106,7 +106,10 @@ export const UserEdit = props => (
<TextInput source="displayname" />
<PasswordInput source="password" autoComplete="new-password" />
<BooleanInput source="admin" />
<BooleanInput source="deactivated" />
<BooleanInput
source="deactivated"
helperText="resources.users.helper.deactivate"
/>
<ArrayInput source="threepids">
<SimpleFormIterator>
<SelectInput