Skip to content

Commit

Permalink
Merge pull request #257 from VeryHandSomeBoy/fix/search
Browse files Browse the repository at this point in the history
fix(search): fix onblur and clear input
  • Loading branch information
josonyang authored Jul 29, 2022
2 parents 6310b68 + f054c43 commit 5943ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default defineComponent({
};
const onBlur = (value: any, context: InputBlurContext) => {
state.labelActive = true;
state.labelActive = !value;
props.onBlur?.(value, { e: context.e });
};
Expand Down

0 comments on commit 5943ed7

Please sign in to comment.