ElemeFE / ElemeFE/element

[feature request] add the option parameter to the select component change event

Open
#21,306 1 comment 0 reactions 0 assignees View on GitHub
component: select type: feature request
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component

### Component Name
el-select

### Description
为什么不在select的change里面增加option参数,网上看大家因为没有这个参数,很苦恼的各种hack二次封装,感觉不是很便捷
https://github.com/ElemeFE/element/blob/dev/packages/select/src/select.vue#L677-L705
这个里面明明拿到了参数,为什么不顺便添加进去呢?
不知道是出于什么考虑,希望大佬出来解答一下。

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.