mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +08:00
fix(select): fix noMatchText error show (#1523)
* fix(select): Search and lose focus,then "No matching data" #1495 * fix(select): fix noMatchText error show Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
This commit is contained in:
parent
8cdfe1c831
commit
4574058263
@ -191,6 +191,7 @@ export const useSelect = (props, states: States, ctx) => {
|
||||
popper.value?.update?.()
|
||||
|
||||
if (props.filterable) {
|
||||
states.filteredOptionsCount = states.optionsCount
|
||||
states.query = props.remote ? '' : states.selectedLabel
|
||||
if (props.multiple) {
|
||||
input.value.focus()
|
||||
|
Loading…
Reference in New Issue
Block a user