ElemeFE / ElemeFE/element

[Bug Report] el-select clears value on blur

Open
#18,622 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.0

### OS/Browsers version
Mac latest

### Vue version
2.6.11

### Reproduction Link
https://element.eleme.io/#/en-US/component/select#remote-search


![elementui](https://user-images.githubusercontent.com/645641/71834282-27997580-30af-11ea-8957-a405842054b7.gif)

### Steps to reproduce
1. Focus in the input
1. Type a search
1. Blur the input
1. Focus again

### What is Expected?
1. The input should keep its value on blur
1. On focus again, the suggestion list should be hidden if the input is empty

### What is actually happening?
1. The input is cleared on blur
1. If the value is cleared, the next focus should not show the previous suggestions

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.