Skip to content

Commit

Permalink
add description textWrapEnabled (#5333)
Browse files Browse the repository at this point in the history
Co-authored-by: OlgaLarina <olga.larina.dev@gmail.com>
  • Loading branch information
OlgaLarina and OlgaLarina committed Mar 18, 2024
1 parent dadc902 commit a07bf30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/survey-creator-core/src/localization/english.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,8 @@ export var enStrings = {
searchMode: {
contains: "Contains",
startsWith: "Starts with"
}
},
textWrapEnabled: "Wrap choices"
},
// Operators
op: {
Expand Down Expand Up @@ -1191,7 +1192,8 @@ export var enStrings = {
},
textUpdateMode: "Choose from: \"On lost focus\" - the value is updated when the input field loses focus; \"While typing\" - the value is updated in real-time, as users are typing. The \"Inherit\" option applies the survey-level setting (\"On lost focus\" by default).",
url: "You can use any web service as a data source for multiple-choice questions. To populate choice values, enter the URL of the service providing the data.",
searchMode: "A comparison operation used to filter the drop-down list."
searchMode: "A comparison operation used to filter the drop-down list.",
textWrapEnabled: "Long texts in choice options will automatically generate line breaks to fit within the drop-down menu. Unselect if you want the texts to clip."
},
signaturepad: {
signatureWidth: "Sets the width of the displayed signature area and the resulting image.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ const defaultProperties: ISurveyPropertiesDefinition = {
{ name: "choiceTextsFromQuestion", tab: "choices" },
{ name: "choicesOrder", tab: "choices" },
{ name: "colCount", tab: "layout" },
{ name: "textWrapEnabled", tab: "choices" },
{ name: "showOtherItem", tab: "choices" },
{ name: "otherText", tab: "choices" },
{ name: "otherPlaceholder", tab: "choices" },
Expand Down Expand Up @@ -300,7 +301,6 @@ const defaultProperties: ISurveyPropertiesDefinition = {
{ name: "choicesMax", tab: "choices" },
{ name: "choicesStep", tab: "choices" },
{ name: "allowClear", tab: "choices" },
{ name: "textWrapEnabled", tab: "choices" },
{ name: "searchMode", tab: "choices" },
]
},
Expand All @@ -312,7 +312,6 @@ const defaultProperties: ISurveyPropertiesDefinition = {
{ name: "searchMode", tab: "choices" },
{ name: "hideSelectedItems", tab: "choices" },
{ name: "allowClear", tab: "choices" },
{ name: "textWrapEnabled", tab: "choices" },
]
},
imagepicker: {
Expand Down

0 comments on commit a07bf30

Please sign in to comment.