Skip to content

Commit 33175ec

Browse files
committed
fix: tree-select placeholder not hide when composing #1994
1 parent 34bd7ef commit 33175ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-tree-select/src/SearchInput.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const SearchInput = {
151151
>
152152
{mirrorSearchValue} 
153153
</span>
154-
{renderPlaceholder ? renderPlaceholder() : null}
154+
{renderPlaceholder && !mirrorSearchValue ? renderPlaceholder() : null}
155155
</span>
156156
);
157157
},

0 commit comments

Comments
 (0)