ElemeFE / ElemeFE/element

[bug report] select multiple selected options plus the disabled attribute can still be deleted by clicking the cross in the input box

Open
#19,429 3 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

### Element UI version
2.13.1

### OS/Browsers version
Windows 10 / Chrome 81.0.4044.138

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/zjinxing/pen/BaoqpEW?editors=1010

### Steps to reproduce
点开下拉列表,其中有两项是已经被选中,且禁止取消选中的,在列表中禁用了取消选中,但是样式不是灰色的禁用状态,点击select选择框中已选中选项上的叉号,选项被删除

### What is Expected?
如果是已选中的被禁用,在列表中样式为灰色禁用状态,且在选择框中不展示叉号

### What is actually happening?
列表中的样式为蓝色选中状态,而且可以通过select内标签的叉号删除选中

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.