ElemeFE / ElemeFE/element

[feature request] cascade custom node content search problem

Open
#20,778 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component

### Component Name
Cascader 级联选择器

### Description
通过scoped slot使用Cascader自定义节点内容时,节点内容能够正常展示
但是搜索时只返回label的内容,希望能够返回自定义节点的内容

场景:根节点名称存在重复或者相似的情况,每个节点有个权重属性,比如调用量,搜索到相同内容时希望展示方便用户筛选

![image](https://user-images.githubusercontent.com/15818895/108473241-bd4e8f00-72c8-11eb-93d1-6c5040be8bf2.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.