element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] Bug in el-select when el-option bind a object to value

Open ahDDD opened this issue 9 years ago • 2 comments

Element UI version

1.4.1

OS/Browsers version

Deepin 15.4 / Chrome 59.0.3071.86

Vue version

2.4.2

Reproduction Link

https://jsfiddle.net/d3ddd/wak3r6gd/

Steps to reproduce

Just open the jsfiddle(https://jsfiddle.net/d3ddd/wak3r6gd/) site you will see it

What is Expected?

Be normal

What is actually happening?

Can't select the value what i want to choice, It will select all when i once click any of them

ahDDD avatar Aug 02 '17 07:08 ahDDD

https://jsfiddle.net/wak3r6gd/1/

You need to use value-key, it's a incompatible change in 1.4.x. See select's documentation for details.

wacky6 avatar Aug 02 '17 07:08 wacky6

Thanks a lot

ahDDD avatar Aug 02 '17 08:08 ahDDD