Original issue:
T12213 - How to add required validation on survey title and description
I set a survey.title
property as required, and specified default title & description. However, the creator still allows me to leave empty values:
import { Serializer } from "survey-core";
Serializer.getProperty('survey', 'title').isRequired = true;
...
creator.survey.title = "Sample Survey Title";
creator.survey.description = "Sample Survey Description";
@JaneSjs Property Grid doesn't allow to enter an empty value, but it doesn't show an error. I have fixed the issue by PR above.
Thank you,
Andrew
Owner Name | surveyjs |
Repo Name | survey-creator |
Full Name | surveyjs/survey-creator |
Language | TypeScript |
Created Date | 2015-12-22 |
Updated Date | 2023-03-30 |
Star Count | 683 |
Watcher Count | 29 |
Fork Count | 308 |
Issue Count | 301 |
Issue Title | Created Date | Updated Date |
---|