mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-17 11:49:41 +08:00
fix(components): [select] blur trigger remote event should pass string (#10218)
This commit is contained in:
parent
af874ea93e
commit
6d839aeb96
@ -246,10 +246,10 @@ export const useSelect = (props, states: States, ctx) => {
|
||||
if (!val) {
|
||||
if (props.filterable) {
|
||||
if (isFunction(props.filterMethod)) {
|
||||
props.filterMethod()
|
||||
props.filterMethod('')
|
||||
}
|
||||
if (isFunction(props.remoteMethod)) {
|
||||
props.remoteMethod()
|
||||
props.remoteMethod('')
|
||||
}
|
||||
}
|
||||
input.value && input.value.blur()
|
||||
|
Loading…
Reference in New Issue
Block a user