ElemeFE / ElemeFE/element

[Bug Report] v-show与下拉选下拉选筛选结合使用的bug

Open
#22,049 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.6

### OS/Browsers version
MACOS

### Vue version
2.6.12

### Reproduction Link
https://codepen.io/ziyoung/pen/LKNBqB

### Steps to reproduce
下拉选中有失效的选项,但是之前用户录入的值如果刚好是已经失效的值 这时候还是要显示出该下拉选的label,所以使用v-show隐藏此值,但是此下拉选添加filterable属性后 在删除输入筛选内容时,这是之前使用v-show隐藏的选项都会显示出来

### What is Expected?
用户在删除筛选内容时不影响v-show的隐藏

### What is actually happening?
用户在删除筛选内容时影响了v-show的隐藏

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.