fix select dropdown value

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-06-14 12:47:28 +02:00 committed by Erik Jan de Wit
parent df18629ffe
commit ab04bf0aab

View file

@ -332,8 +332,9 @@ export const PartialImportDialog = (props: PartialImportProps) => {
toggleId="realm-selector"
isOpen={isRealmSelectOpen}
typeAheadAriaLabel={t("realmSelector")}
aria-label={"realmSelector"}
aria-label={t("realmSelector")}
onToggle={() => setIsRealmSelectOpen(!isRealmSelectOpen)}
selections={targetRealm.id}
onSelect={(value) => handleRealmSelect(value)}
placeholderText={targetRealm.realm || targetRealm.id}
>
@ -369,6 +370,7 @@ export const PartialImportDialog = (props: PartialImportProps) => {
onToggle={() => {
setIsCollisionSelectOpen(!isCollisionSelectOpen);
}}
selections={collisionOption}
onSelect={handleCollisionSelect}
placeholderText={t(collisionOption)}
>