From a706159c5b0f207e5a2eb9054538ac3a0972a07f Mon Sep 17 00:00:00 2001 From: Batuhan Tomo Date: Thu, 25 Apr 2024 12:19:12 +0300 Subject: [PATCH] Fix #6468 --- components/lib/treeselect/TreeSelect.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/lib/treeselect/TreeSelect.js b/components/lib/treeselect/TreeSelect.js index 43b0ec1963..c2cc9a4e6f 100644 --- a/components/lib/treeselect/TreeSelect.js +++ b/components/lib/treeselect/TreeSelect.js @@ -797,7 +797,12 @@ export const TreeSelect = React.memo( props }; - return ObjectUtils.getJSXElement(props.panelHeaderTemplate, defaultOptions); + return ( +
+ {content} + {ObjectUtils.getJSXElement(props.panelHeaderTemplate, defaultOptions)} +
+ ); } return content;