IDataIssue
Describes an issue reported by the SurveyModel.setData() method.
The value stored in the survey after loading.
This property applies only to "expressionResultMismatch" issues and is undefined if the value was removed.
- Type:
- any readonly
- Implemented in:
- IDataIssue
The value's location in the survey data, such as "panel1[2].q1" or "matrix.row1.col1".
This path is intended for display, not parsing, because property names are not escaped.
- Type:
- string readonly
- Implemented in:
- IDataIssue
The question associated with the issue, or undefined if the data property does not correspond to a question.
For nested values, this is the cell or panel question. For an "expressionResultMismatch" issue, it is the question associated with the root data property.
- Type:
- Question readonly
- Implemented in:
- IDataIssue
Identifies the issue type.
Possible values:
"unknownProperty"
A data property does not correspond to a recognized survey result field."invalidValueType"
A value's type or structure does not match the question configuration."invalidChoiceValue"
A value does not match an available choice, matrix column or row, or rating value."expressionResultMismatch"
A value was added, changed, or removed by expressions, defaults, triggers, or other logic applied during loading.
- Type:
- "unknownProperty" | "invalidValueType" | "invalidChoiceValue" | "expressionResultMismatch" readonly
- Implemented in:
- IDataIssue
The value associated with the issue.
For an "expressionResultMismatch" issue, this is the original value from the supplied data.
- Type:
- any readonly
- Implemented in:
- IDataIssue
Send feedback to the SurveyJS team
Need help? Visit our support page