Skip to content

Commit

Permalink
fix: fix form oidc submission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab committed Jul 13, 2022
1 parent df729ea commit ffaffc3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ function ClientWizardForm({
function submitForm(message) {
commitMessage = message
toggle()
document.querySelector('button[type="submit"]').click()
//document.querySelector('button[type="submit"]').click()
document.getElementsByClassName('UserActionSubmitButton')[0].click()

}

const initialValues = {
Expand Down Expand Up @@ -397,6 +399,7 @@ function ClientWizardForm({
<Button
type="submit"
color="primary"
className="UserActionSubmitButton"
style={{ visibility: 'hidden' }}
>
{t('actions.submit')}
Expand Down

0 comments on commit ffaffc3

Please sign in to comment.