surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
898 stars 374 forks source link

V2: Question Desc String Editor not available on Designer - Current Dev Version 1.8.69 #1867

Open AbhishekKS opened 3 years ago

AbhishekKS commented 3 years ago

Are you requesting a feature, reporting a bug or ask a question?

Question/Bug

What is the current behavior?

Question Description String Editor does not seem to be available in the current dev version 1.8.69. Is it removed on purpose or a miss?

What is the expected behavior?

How would you reproduce the current behavior (if this is a bug)?

Add any question to a page. Question Description String editor is missing on the designer page.

Provide the test code and the tested page URL (if applicable)

Tested page URL: https://surveyjstest.azurewebsites.net//Examples/CreatorSinglePage?id=options&platform=ReactjsV2&theme=modern

Test code

your_code_here

Specify your

novikov82 commented 3 years ago

We discussed this issue and decided that question description editor should not be shown in survey if description is empty and no placeholder is defined. So the best way to edit it is to fill Description property in the property grid. Also it is possible to set placeholder for question description

Survey.Serializer.findProperty("question", "description").placeholder = "Enter a question description";

and edit it inline.