element-plus [bug report] el-select remote search reset icon is invisible

x33g5p2x  于 2022-10-21  发布在  其他
关注(0)|答案(3)|浏览(161)

Element Plus version
1.0.2-beta.47

OS/Browsers version
chrome

Vue version
3.0.0

Reproduction Link:
(Remote search example)
http://element-plus.org/#/fr-FR/component/select

What is actually happening?
The button exists and works but the icon is not displayed

What is expected?
Show reset icon when text is entered

r3i60tvu

r3i60tvu1#

May be you should hover on the icon.

kgqe7b3p

kgqe7b3p2#

Well, I also checked the v2 version example here: https://element.ele.me/#/en-US/component/select which behaves the same as we do. And I think the reset button is unnecessary since you cannot really navigate to the icon via keyboard and your input value will be discarded after you hover or select, the reset button should be unnecessary. But I do noticed one thing is that if the remote search is used with multiple flag, the reset button should be there to reset all the selected values.
I'll mark it as an enhancement to fix in the next version. Thank you for bring in this issue. ;)

相关问题