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.
Because when I edit the description of the design surface, after unfocusing, it replaces the "\n" in the string with a space. I'm not sure if this is normal behavior, but to prevent it from happening, I would like to disable the description.
If you want to stick to a textarea support to display the entered linebreaks should be added! How should the user know that his entered linebreak is not supported for the displayed text? Everyone would call that a bug if there is no visible information that a linebreak is not supported.
Issue
A user enters a survey description within the property grid editor, which allows line breaks.
However, in preview or within the inplace editor, a description doesn't preserve line breaks.
Possible options to handle this:
Enable line breaks within the in-place editor.
Change the long-text property grid editor to the single-line input editor for the Description field.
Use the following code to register a single-line input field for the Description property:
Good News:
1) Linebreaks can be entered.
2) They can be entered directly or in the right sidebar.
3) Pasted linebreaks are not removed.
Bad news: In the survey edit area linebreaks can only be entered via . Normal removes the focus from the description field.
This is unusable, because (Line break instead of paragraph) is not known to many users.
Because when I edit the description of the design surface, after unfocusing, it replaces the "\n" in the string with a space. I'm not sure if this is normal behavior, but to prevent it from happening, I would like to disable the description.
If you want to stick to a textarea support to display the entered linebreaks should be added! How should the user know that his entered linebreak is not supported for the displayed text? Everyone would call that a bug if there is no visible information that a linebreak is not supported.
Issue A user enters a survey description within the property grid editor, which allows line breaks.
However, in preview or within the inplace editor, a description doesn't preserve line breaks.
Possible options to handle this: