ElemeFE / ElemeFE/element

el-select 远程搜索,选中新搜索的数据后,导致旧value的currentLabel为空

Open
#20,141 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

el-select 远程搜索,选中新搜索的数据后,查找源码发现会在新的options中遍历寻找value,导致旧value的currentLabel为空

目前解决办法是在新搜索数据中加上旧的value,请问有其他解决办法吗

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.