formio / formio.js

JavaScript powered Forms with JSON Form Builder

Home Page:https://formio.github.io/formio.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Required Validation does not disappear with formio 5.0.0-x

ralfeis opened this issue · comments

Hi,

if I use the newest version 5.0.0-rc38, then the "required" validation behaves different to the 4.6 version of formio.
grafik

The example is a "true","false" decision which must be selected (required validation)
If "no" is selected, then the required validation does not disappear.

Here is a simple example to test:
https://stackblitz.com/edit/js-o27pu6?file=index.html,package.json

Best regards

@ralfeis
This issue seems to be resolved on 5.0.0-rc.39

Hi @jeriah-formio,

thanks for your feedback.
I updated the test project: https://stackblitz.com/edit/js-o27pu6?file=index.html,package.json
to the latest Formio (5.0.0-rc.42), but the error is still there.
The pull request of formio/core#31 must be merged, then it will be fixed.

Best regards

Just got get this into our workflow I've created an internal ticket: FIO-8221

Thanks for the contribution! @brendanbond will stay on top of this

The fix had to be reverted as it broke validation for checkboxes. I'm going to go ahead and re-open the issue.

An internal ticket has been logged to track this issue: FIO-8221

@ralfeis
I have logged a ticket for internal reference, but it is not being prioritized at the moment. If you'd like to explore another fix that will work for both radio and checkboxes I'd be happy to have get it reviewed.