From 5caf5077b2dbd510034f85592e7f373e70b50228 Mon Sep 17 00:00:00 2001 From: RomanTsukanov Date: Fri, 15 Mar 2024 17:02:51 +0400 Subject: [PATCH] Describe the `textWrapEnabled` property --- src/question_dropdown.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/question_dropdown.ts b/src/question_dropdown.ts index 0ed12e7b0e..8b51a6a884 100644 --- a/src/question_dropdown.ts +++ b/src/question_dropdown.ts @@ -218,6 +218,13 @@ export class QuestionDropdownModel extends QuestionSelectBase { */ @property() searchMode: "contains" | "startsWith"; + /** + * Specifies whether to wrap long texts in choice options onto a new line. + * + * Default value: `true` + * + * Disable this property if you want the texts to be truncated with ellipsis. + */ @property() textWrapEnabled: boolean; @property({ defaultValue: false }) inputHasValue: boolean; @property({ defaultValue: "" }) readOnlyText: string;