Enable to add threepid for create new user
This commit is contained in:
parent
60222c346e
commit
b3f937b566
@ -74,6 +74,15 @@ export const UserCreate = props => (
|
|||||||
<SimpleForm>
|
<SimpleForm>
|
||||||
<TextInput source="id" autoComplete="off" validate={validateUser} />
|
<TextInput source="id" autoComplete="off" validate={validateUser} />
|
||||||
<TextInput source="displayname" />
|
<TextInput source="displayname" />
|
||||||
|
<ArrayInput source="threepids">
|
||||||
|
<SimpleFormIterator>
|
||||||
|
<SelectInput source="medium" choices={[
|
||||||
|
{ id: 'email', name: 'resources.users.email' },
|
||||||
|
{ id: 'msisdn', name: 'resources.users.msisdn' },
|
||||||
|
]} />
|
||||||
|
<TextInput source="address" />
|
||||||
|
</SimpleFormIterator>
|
||||||
|
</ArrayInput>
|
||||||
<PasswordInput source="password" autoComplete="new-password" />
|
<PasswordInput source="password" autoComplete="new-password" />
|
||||||
<BooleanInput source="admin" />
|
<BooleanInput source="admin" />
|
||||||
</SimpleForm>
|
</SimpleForm>
|
||||||
|
Loading…
Reference in New Issue
Block a user