We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60aeec7 commit 1152e8cCopy full SHA for 1152e8c
components/vc-tree-select/src/Selector/SingleSelector.jsx
@@ -64,7 +64,7 @@ const SingleSelector = {
64
if (selectorValueList.length && !this.mirrorSearchValue) {
65
const { label, value } = selectorValueList[0];
66
selectedValueNodes.push(
67
- <span key="value" title={toTitle(label)} class={`${prefixCls}-selection-item`}>
+ <span key={value} title={toTitle(label)} class={`${prefixCls}-selection-item`}>
68
{label || value}
69
</span>,
70
);
0 commit comments