surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.01k stars 780 forks source link

Radio Button Group: Selecting the "Other" item produces an error if `checkErrorsMode` is `"onValueChanged"` #8369

Closed andrewtelnov closed 3 weeks ago

andrewtelnov commented 3 weeks ago

The following JSON shows the issue. On selecting other item, the error is shown immediately.

{
"pages": [
{
"name": "page1",
"elements": [
{
"type": "radiogroup",
"name": "question1",
"isRequired": true,
"choices": [
"Item 1",
"Item 2",
"Item 3"
],
"showOtherItem": true
}
]
}
],
"checkErrorsMode": "onValueChanged"