Closed BarkerCreations closed 2 weeks ago
Hello @BarkerCreations,
The survey.onValidateQuestion
function doesn't actually expect any return value. If a value is invalid, please specify the options.error
parameter to display a validation error message to a user.
Let me know what you think.
Are you requesting a feature, reporting a bug or asking a question?
Bug
What is the current behavior?
Typing in the
survey-angular-ui
package requiresvalidateValueCallback
to return a SurveyError or descendant.What is the expected behavior?
If the value is valid I should be able to return null
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Test code (in my custom widget)
Specify your
Angular
survey-angular-ui @ 1.11.12