Survey-library: Standard Validators throw an error when it shouldn't.

Created on 18 Apr 2018  路  4Comments  路  Source: surveyjs/survey-library

Are you requesting a feature, reporting a bug or ask a question?

Reporting a Bug.

What is the current behavior?

When using standard validators for multipletext items, if one item of multipletext has isRequired property, other items throw the error "The value should be numeric."

What is the expected behavior?

The fields without isRequired should not throw an error for empty value.

How would you reproduce the current behavior (if this is a bug)?

Leave the first multipletext item empty, and fill the second correctly, it throws an error "The value should be numeric." when it shouldn't.

Provide the test code and the tested page URL (if applicable)

https://plnkr.co/edit/4yh21BMH9pwboHNKny46?p=preview

Specify your
browser: Chrome
browser version: 64.0.3282.119
surveyjs platform (angular or react or jquery or knockout or vue): jquery
surveyjs version: 1.0.16

bug fixed

All 4 comments

@testweird123 The issue reproduced in a unit test and it is fixed. The fix will be available in the next minor update.

Thank you,
Andrew

Thank you, when would this minor update roll out approximately?

@testweird123 We are trying to release a new minor version every Tuesday. You may build the library from source, just follow instruction on the readme page.

Thank you,
Andrew

@testweird123 We had to release a new version today due a bug in the webpack. You may get a new version with the fix.

Thank you,
Andrew

Was this page helpful?
0 / 5 - 0 ratings