From 71ef13e615223ad5a393a0a84cf0160ca659e8d6 Mon Sep 17 00:00:00 2001 From: melloware Date: Fri, 3 Mar 2023 15:45:01 -0500 Subject: [PATCH] Fix #4129: MutliSelect typescript filter update --- components/lib/multiselect/multiselect.d.ts | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/components/lib/multiselect/multiselect.d.ts b/components/lib/multiselect/multiselect.d.ts index d434e315ae..28b1b34a47 100644 --- a/components/lib/multiselect/multiselect.d.ts +++ b/components/lib/multiselect/multiselect.d.ts @@ -169,6 +169,32 @@ interface MultiSelectFilterOptions { reset?: () => void; } +/** + * Custom filter template options. + */ +interface MultiSelectTemplateOptions { + /** + * Style class of the filter. + */ + className: string; + /** + * The filter element. + */ + element: HTMLDivElement; + /** + * Style class of the filter icon. + */ + filterIconClassName: string; + /** + * The filter input options. + */ + filterOptions?: MultiSelectFilterOptions; + /** + * The props of multiselect header. + */ + props?: any; +} + /** * Defines valid properties in MultiSelect component. In addition to these, all properties of HTMLDivElement can be used in this component. * @group Properties