Skip to content

Commit

Permalink
fix(admin-ui): remove input label
Browse files Browse the repository at this point in the history
Signed-off-by: Jeet Viramgama <jviramgama5@gmail.com>
  • Loading branch information
jv18creator committed Nov 7, 2023
1 parent b3e1ffd commit 500c49c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions admin-ui/app/routes/Apps/Gluu/GluuSingleValueCompleter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function GluuSingleValueCompleter({
doc_category,
doc_entry,
onChange = null,
hideHelperMessage = false
}) {
const { t } = useTranslation()
return (
Expand All @@ -49,11 +50,11 @@ function GluuSingleValueCompleter({
}
}}
/>
<ThemeProvider theme={theme}>
{!hideHelperMessage && <ThemeProvider theme={theme}>
<Typography variant="subtitle1">
{t('placeholders.typeahead_holder_message')}
</Typography>
</ThemeProvider>
</ThemeProvider>}
</Col>
</FormGroup>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ const MappingAddDialogForm = ({
label="fields.role"
options={autoCompleteRoles}
value={[]}
hideHelperMessage
onChange={(selected) =>
setApiRole(selected.length ? selected[0] : '')
}
Expand Down

0 comments on commit 500c49c

Please sign in to comment.