We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a45b35 commit e01f26cCopy full SHA for e01f26c
components/tree-select/index.tsx
@@ -236,6 +236,7 @@ const TreeSelect = defineComponent({
236
switcherIcon = slots.switcherIcon?.(),
237
fieldNames = props.replaceFields,
238
id = formItemContext.id.value,
239
+ placeholder = slots.placeholder?.(),
240
} = props;
241
const { isFormItemInput, hasFeedback, feedbackIcon } = formItemInputContext;
242
// ===================== Icons =====================
@@ -342,6 +343,7 @@ const TreeSelect = defineComponent({
342
343
maxTagPlaceholder={props.maxTagPlaceholder || slots.maxTagPlaceholder}
344
placement={placement.value}
345
showArrow={hasFeedback || showArrow}
346
+ placeholder={placeholder}
347
/>,
348
),
349
);
0 commit comments