Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit button requires multiple clicks #26

Closed
jtyoung84 opened this issue Oct 11, 2022 · 1 comment
Closed

Submit button requires multiple clicks #26

jtyoung84 opened this issue Oct 11, 2022 · 1 comment
Assignees

Comments

@jtyoung84
Copy link
Collaborator

Describe the bug
It requires two clicks on Submit to save a form. The first click says certain fields are required even though they have been filled in correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Select Subject
  2. Fill out some form data
  3. Click Submit
  4. See error
  5. Click Submit again and the form is saved correctly.

Expected behavior
If valid data is input, then the form should save correctly on the first click.

Screenshots
Screenshot from 2022-10-11 09-37-03

Desktop (please complete the following information):

  • OS: CentOS 7
  • Browser: Firefox
  • Version: 91.10.0esr (64-bit)

Additional context
Add any other context about the problem here.

@mekhlakapoor mekhlakapoor self-assigned this Oct 11, 2022
@mekhlakapoor
Copy link
Collaborator

might be because of invalid schema type for validator: stoplightio/spectral#403

  • however, using ajv2020 or hyperjump still leads to same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants