From 0ed7a7cf7f427cb15a6b24281230ff098e6ff3ee Mon Sep 17 00:00:00 2001 From: RomanTsukanov Date: Tue, 25 Jun 2024 15:19:35 +0400 Subject: [PATCH 1/2] Describe the `settings.dropdownSearchDelay` property --- src/settings.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/settings.ts b/src/settings.ts index 462761f675..d21ac23a79 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -429,11 +429,18 @@ export var settings = { */ ratingMaximumRateValueCount: 20, /** - * Specifies whether to close the drop-down menu of a [TagBox](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/) question after a user selects a value. + * Specifies whether to close the drop-down menu of a [Multi-Select Dropdown (Tag Box)](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/) question after a user selects a value. * - * This setting applies to all TagBox questions on a page. You can use the [closeOnSelect](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model#closeOnSelect) property to specify the same setting for an individual TagBox question. + * This setting applies to all Multi-Select Dropdown questions on a web page. You can use the [`closeOnSelect`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model#closeOnSelect) property to specify the same setting for an individual Multi-Select Dropdown question. */ tagboxCloseOnSelect: false, + /** + * A time interval between the last entered character and the beginning of search in [Single-](https://surveyjs.io/form-library/examples/dropdown-menu-load-data-from-restful-service/) and [Multi-Select Dropdown](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/) questions. Applies only to questions with the [`choicesByUrl`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#choicesByUrl) property specified or the [`choicesLazyLoadEnabled`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#choicesLazyLoadEnabled) property set to `true`. + * + * Default value: 500 + * + * [View Demo](https://surveyjs.io/form-library/examples/lazy-loading-dropdown/ (linkStyle)) + */ dropdownSearchDelay: 500, /** * A function that activates a browser confirm dialog. From f1acac883887f4a9365bc76ca5b9b6baeb77039d Mon Sep 17 00:00:00 2001 From: RomanTsukanov Date: Tue, 25 Jun 2024 15:44:37 +0400 Subject: [PATCH 2/2] Update the description --- src/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.ts b/src/settings.ts index d21ac23a79..82d29ebc77 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -435,7 +435,7 @@ export var settings = { */ tagboxCloseOnSelect: false, /** - * A time interval between the last entered character and the beginning of search in [Single-](https://surveyjs.io/form-library/examples/dropdown-menu-load-data-from-restful-service/) and [Multi-Select Dropdown](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/) questions. Applies only to questions with the [`choicesByUrl`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#choicesByUrl) property specified or the [`choicesLazyLoadEnabled`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#choicesLazyLoadEnabled) property set to `true`. + * A time interval in milliseconds between the last entered character and the beginning of search in [Single-](https://surveyjs.io/form-library/examples/create-dropdown-menu-in-javascript/) and [Multi-Select Dropdown](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/) questions. Applies only to questions with the [`choicesLazyLoadEnabled`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#choicesLazyLoadEnabled) property set to `true`. * * Default value: 500 *