Skip to content

Commit

Permalink
fix(components): [select] blur trigger remote event should pass string (
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Oct 26, 2022
1 parent af874ea commit 6d839ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/select/src/useSelect.ts
Expand Up @@ -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()
Expand Down

0 comments on commit 6d839ae

Please sign in to comment.