ElemeFE / ElemeFE/element

[Feature Request] Multi select in select - disabled options selected from code shouldn't be deletable

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

Description

### Existing Component
Yes

### Component Name
Select

### Description
In multi-select, when an option is disabled but it's selected from code the tag appears in the input, which is like it should be, but it shouldn't be closable, meaning it shouldn't have the X on the right of it

The screenshot below provides an example where the first item in the list is selected from code but disabled as an option in the dropdown, so that means that the tag appearing in the input shouldn't be deletable as well
Screenshot 2021-09-21 at 15 07 17

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.