diff --git a/packages/survey-core/src/survey.ts b/packages/survey-core/src/survey.ts index abf9cfb48a..9be15f7c9b 100644 --- a/packages/survey-core/src/survey.ts +++ b/packages/survey-core/src/survey.ts @@ -1746,7 +1746,7 @@ export class SurveyModel extends SurveyElementCore * - `"onValueChanged"` - Triggers validation each time a question value is changed. * - `"onComplete"` - Triggers validation when a user clicks the Complete button. If previous pages contain errors, the survey switches to the page with the first error. * - * > The `"onValueChanged"` doesn't work with date input fields because of the way browsers process date values. In most browsers, the value is considered changed as soon as a user starts entering the date in a text input field. This means that a user may only enter the day without having the chance to enter the month and year before validation is triggered. For this reason, date input fields are validated before the survey is switched to the next page or completed. + * > In SurveyJS Form Library v1.12.5 and earlier, the `"onValueChanged"` mode doesn't work with date input fields because of the way browsers process date values. In most browsers, the value is considered changed as soon as a user starts entering the date in a text input field. This means that a user may only enter the day without having the chance to enter the month and year before validation is triggered. For this reason, date input fields are validated before the survey is switched to the next page or completed. Starting with v1.12.6, `"onValueChanged"` works for date input fields as well as for input fields of other types. * * Refer to the following help topic for more information: [Data Validation](https://surveyjs.io/form-library/documentation/data-validation). * @see validationEnabled