Skip to content

Commit

Permalink
fix(admin-ui): tab skip tooltip
Browse files Browse the repository at this point in the history
and middle name in user make not required field
  • Loading branch information
mjatin-dev committed Mar 9, 2023
1 parent 994c950 commit c35f8d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion admin-ui/app/routes/Apps/Gluu/GluuLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ function GluuLabel({ label, required, size, doc_category, doc_entry, style }) {
{doc_category &&
<>
<ReactTooltip
tabIndex="-1"
html
id={doc_entry}
data-testid={doc_entry}
place="right"
>
{t('documentation.' + doc_category + '.' + doc_entry)}
</ReactTooltip>
<HelpOutline style={{ width: 18, height: 18, marginLeft:6, marginRight:6 }} data-tip data-for={doc_entry} />
<HelpOutline tabIndex="-1" style={{ width: 18, height: 18, marginLeft:6, marginRight:6 }} data-tip data-for={doc_entry} />
</>
}
:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ function UserForm({onSubmitData}) {
{
displayName:Yup.string().required('Display name is required.'),
givenName:Yup.string().required('First name is required.'),
middleName:Yup.string().required('Middle name is required.'),
sn:Yup.string().required('Last name is required.'),
userId:Yup.string().required('User name is required.'),
mail:Yup.string().required('Email is required.'),
Expand Down

0 comments on commit c35f8d5

Please sign in to comment.