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

Checkbox Group invalid when option checked #168

Closed
uniquelau opened this issue Dec 7, 2017 · 2 comments
Closed

Checkbox Group invalid when option checked #168

uniquelau opened this issue Dec 7, 2017 · 2 comments

Comments

@uniquelau
Copy link
Contributor

I have a checkbox group on my form, since upgrading to V1.3.1, if one of the boxes is checked the form fails validation.

I've created new fields and unchecked required, but the error still persists.

The response is:

{"invalidFields":[{"name":"Availability 2","formSafeName":"_Availability_2","submittedValue":"[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\"]","invalid":true}],"failedValidations":[]}

When no boxes are checked, the form can be posted.

Any suggestions on how to start debugging this one?

@kjac
Copy link
Owner

kjac commented Dec 7, 2017

Hey @uniquelau,

Looks like you've stumbled across a bug here. Surprised noone's found it before, from what I can see it's been around for ages :)

I'll create a patch for it in a day or two.

Thanks for reporting 👍

@kjac
Copy link
Owner

kjac commented Dec 10, 2017

@uniquelau this is fixed in v1.3.1.1

@kjac kjac closed this as completed Dec 10, 2017
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