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

Single checkbox invalid input on required validation #549

Open
robhuijben opened this issue Jan 15, 2022 · 0 comments
Open

Single checkbox invalid input on required validation #549

robhuijben opened this issue Jan 15, 2022 · 0 comments

Comments

@robhuijben
Copy link

robhuijben commented Jan 15, 2022

Problem

When a form contains a single checkbox with required validation, the server side validation returns an 'invalid input' message and the form cannot be submitted.

Steps to reproduce

  type: checkbox
  label: "Agree to the terms and conditions"
  validate:
      required: true
  • Fill in the form in the frontend, check the agreements checkbox
  • Validation never passes and message 'Invalid input in Agree to the terms and conditions' is displayed

Expected result

Validation should pass when checkbox is checked and form should be submitted.

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

1 participant