Survey-library: Has erros for dynamic panel issue

Created on 26 Sep 2019  路  1Comment  路  Source: surveyjs/survey-library

hasErrors for dynamic panel returns true, but it doesn't have errors, when it is called from checkIsCurrentPageHasErrors
var json = {
questions: [
{
name: "name",
type: "text",
isRequired: true
},
{
type: "paneldynamic",
name: "relatives",
templateElements: [
{
name: "relativeType",
type: "dropdown",
choices: [
"father",
],
isRequired: true
}
],
panelCount: 1
}
]
};

bug fixed

Most helpful comment

@dk981234 @dmitrykurmanov To fix the issue, I have added containsError property. It is observable for knockout and reactive for react.
Please use it to find out if the question/panel/page or their chidren have errors or not.

Thank you,
Andrew

>All comments

@dk981234 @dmitrykurmanov To fix the issue, I have added containsError property. It is observable for knockout and reactive for react.
Please use it to find out if the question/panel/page or their chidren have errors or not.

Thank you,
Andrew

Was this page helpful?
0 / 5 - 0 ratings

Related issues

misamura picture misamura  路  4Comments

madceb picture madceb  路  3Comments

dmitrykurmanov picture dmitrykurmanov  路  3Comments

Lordchapter picture Lordchapter  路  3Comments

faso picture faso  路  4Comments