Restored multivalued switch on create attribute (#30811)

* restored multivalued switch

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* small cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
agagancarczyk 2024-06-26 13:30:11 +01:00 committed by GitHub
parent d34e468a57
commit ca26524259
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,6 +42,7 @@ import {
AddTranslationsDialog,
TranslationsType,
} from "./AddTranslationsDialog";
import { DefaultSwitchControl } from "../../../components/SwitchControl";
import "../../realm-settings-section.css";
@ -271,6 +272,11 @@ export const AttributeGeneralSettings = ({
)}
</Grid>
</FormGroup>
<DefaultSwitchControl
name="multivalued"
label={t("multivalued")}
labelIcon={t("multivaluedHelp")}
/>
<SelectControl
name="group"
label={t("attributeGroup")}