Skip to content

Commit 6a0e330

Browse files
committed
fix(admin-ui): Enhancements and Bugfixes in SAML SP Management
1 parent 9cfaff9 commit 6a0e330

File tree

3 files changed

+7890
-5672
lines changed

3 files changed

+7890
-5672
lines changed

admin-ui/app/routes/Apps/Gluu/GluuTypeAheadForDn.js

+9-6
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,16 @@ function GluuTypeAheadForDn({
3131
lsize = 4,
3232
rsize = 8,
3333
paginate = false,
34-
onSearch = () => {},
35-
onPaginate = () => {},
34+
onSearch = () => { },
35+
onPaginate = () => { },
3636
maxResults = undefined,
3737
isLoading = false,
3838
placeholder = undefined,
39-
onChange
39+
onChange,
40+
hideHelperMessage,
41+
defaultSelected
4042
}) {
43+
4144
const { t } = useTranslation()
4245
const [open, setOpen] = useState(false)
4346

@@ -92,13 +95,13 @@ function GluuTypeAheadForDn({
9295
useCache={false}
9396
allowNew={allowNew}
9497
multiple={true}
95-
defaultSelected={value}
98+
selected={defaultSelected}
9699
/>
97-
<ThemeProvider theme={theme}>
100+
{!hideHelperMessage && <ThemeProvider theme={theme}>
98101
<Typography variant="subtitle1">
99102
{t('placeholders.typeahead_holder_message')}
100103
</Typography>
101-
</ThemeProvider>
104+
</ThemeProvider>}
102105
</Col>
103106
</FormGroup>
104107
)

0 commit comments

Comments
 (0)