Skip to content

Commit

Permalink
fix(admin-ui): tooltips missing in SSA Management form #1199
Browse files Browse the repository at this point in the history
  • Loading branch information
jv18creator committed Jul 14, 2023
1 parent 32b169d commit c26c891
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions admin-ui/plugins/auth-server/components/Ssa/SsaAddPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { createSsa, toggleSaveConfig } from '../../redux/features/SsaSlice'
import { buildPayload } from 'Utils/PermChecker'
import { useNavigate } from 'react-router'
import GluuToogleRow from 'Routes/Apps/Gluu/GluuToogleRow'
import { SSA } from 'Utils/ApiResources'

const grantTypes = [
'authorization_code',
Expand Down Expand Up @@ -128,6 +129,8 @@ const SsaAddPage = () => {
showError={
formik.errors.software_id && formik.touched.software_id
}
doc_category={SSA}
doc_entry='software_id'
value={formik.values.software_id}
/>
<GluuInputRow
Expand All @@ -138,6 +141,8 @@ const SsaAddPage = () => {
errorMessage={formik.errors.org_id}
showError={formik.errors.org_id && formik.touched.org_id}
value={formik.values.org_id}
doc_category={SSA}
doc_entry='org_id'
/>
<GluuInputRow
label='fields.description'
Expand All @@ -148,6 +153,8 @@ const SsaAddPage = () => {
showError={
formik.errors.description && formik.touched.description
}
doc_category={SSA}
doc_entry='description'
value={formik.values.description}
/>
<GluuTypeAhead
Expand All @@ -162,6 +169,8 @@ const SsaAddPage = () => {
showError={
formik.errors.software_roles && formik.touched.software_roles
}
doc_category={SSA}
doc_entry='software_roles'
errorMessage={formik.errors.software_roles}
/>
<GluuTypeAhead
Expand All @@ -176,6 +185,8 @@ const SsaAddPage = () => {
showError={
formik.errors.grant_types && formik.touched.grant_types
}
doc_category={SSA}
doc_entry='grant_types'
errorMessage={formik.errors.grant_types}
/>
<GluuToogleRow
Expand All @@ -185,6 +196,8 @@ const SsaAddPage = () => {
value={formik.values.one_time_use}
lsize={3}
rsize={7}
doc_category={SSA}
doc_entry='one_time_use'
/>
<GluuToogleRow
name='rotate_ssa'
Expand All @@ -193,6 +206,8 @@ const SsaAddPage = () => {
value={formik.values.rotate_ssa}
lsize={3}
rsize={7}
doc_category={SSA}
doc_entry='rotate_ssa'
/>
<FormGroup row>
<Col sm={6}>
Expand All @@ -204,6 +219,8 @@ const SsaAddPage = () => {
handler={handleExpirable}
lsize={6}
rsize={6}
doc_category={SSA}
doc_entry='expiration'
/>
</Col>
<Col sm={6}>
Expand Down

0 comments on commit c26c891

Please sign in to comment.