Property Grid doesn't show error on entring empty value

This issue has been tracked since 2023-03-02.

Original issue:
T12213 - How to add required validation on survey title and description

Example.

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";

image

andrewtelnov wrote this answer on 2023-03-18

@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

More Details About Repo
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

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date