disableReordering in users' SimpleFormIterator (#219)

This commit is contained in:
Dirk Klimpel 2022-03-22 17:58:28 +01:00 committed by GitHub
parent 95de50b925
commit b02396c61f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,7 +278,7 @@ export const UserCreate = props => (
/> />
<BooleanInput source="admin" /> <BooleanInput source="admin" />
<ArrayInput source="threepids"> <ArrayInput source="threepids">
<SimpleFormIterator> <SimpleFormIterator disableReordering>
<SelectInput <SelectInput
source="medium" source="medium"
choices={[ choices={[
@ -291,7 +291,7 @@ export const UserCreate = props => (
</SimpleFormIterator> </SimpleFormIterator>
</ArrayInput> </ArrayInput>
<ArrayInput source="external_ids" label="synapseadmin.users.tabs.sso"> <ArrayInput source="external_ids" label="synapseadmin.users.tabs.sso">
<SimpleFormIterator> <SimpleFormIterator disableReordering>
<TextInput source="auth_provider" validate={required()} /> <TextInput source="auth_provider" validate={required()} />
<TextInput <TextInput
source="external_id" source="external_id"
@ -348,7 +348,7 @@ export const UserEdit = props => {
path="threepid" path="threepid"
> >
<ArrayInput source="threepids"> <ArrayInput source="threepids">
<SimpleFormIterator> <SimpleFormIterator disableReordering>
<SelectInput <SelectInput
source="medium" source="medium"
choices={[ choices={[
@ -367,7 +367,7 @@ export const UserEdit = props => {
path="sso" path="sso"
> >
<ArrayInput source="external_ids" label={false}> <ArrayInput source="external_ids" label={false}>
<SimpleFormIterator> <SimpleFormIterator disableReordering>
<TextInput source="auth_provider" validate={required()} /> <TextInput source="auth_provider" validate={required()} />
<TextInput <TextInput
source="external_id" source="external_id"