Element: [Bug Report] Clearable el-select shows clear button on hovering when value is null

Created on 1 Jun 2018  ·  3Comments  ·  Source: ElemeFE/element

Element UI version

2.4.0

OS/Browsers version

Chrome 66, Firefox 60.0.1

Vue version

2.5.16

Reproduction Link

https://jsfiddle.net/p04y83r4/

Steps to reproduce

Go to the reproduction link
Hover the clearable select

What is Expected?

No clear button

What is actually happening?

It shows the clear button even when the value is null

All 3 comments

Remove your clearable attribute

I want it to be clearable (when it's not null or not empty)

还想让他是个下拉选择框还得是可清除的 有没有感觉你这种需求很奇葩啊亲
And you want him to be a drop-down box and you have to be able to clear it and you have to feel like you have a weird need

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akaylh picture akaylh  ·  3Comments

smallpath picture smallpath  ·  3Comments

chenzhe-pro picture chenzhe-pro  ·  3Comments

zhguokai picture zhguokai  ·  3Comments

fscardua picture fscardua  ·  3Comments