From 75a263a047fc773a24c858e901d1fa7215652b13 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 10 Aug 2022 13:29:15 +0200 Subject: [PATCH] automatic enable search for more than 20 options on Birgits request --- api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts b/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts index 696847f24f..0c9b68ce70 100644 --- a/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts +++ b/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts @@ -158,7 +158,7 @@ export const Et2widgetWithSelectMixin = >(supe this.__select_options = cleanSelectOptions(new_options); - if (this.__select_options.length > 100) + if (this.__select_options.length > 20) { this.search = true; }