Skip to content

Commit

Permalink
fix(transfer): search event is missing trigger parameters (#4590)
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs authored Sep 24, 2024
1 parent c9a808f commit 91c36fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/transfer/components/transfer-search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ export default defineComponent({
const classPrefix = usePrefixClass();
const { SearchIcon } = useGlobalIcon({ SearchIcon: TdSearchIcon });
const handleChange = (value: string, changeCtx: any) => {
const { e, trigger } = changeCtx;
props.onChange?.({
value,
e: changeCtx.e,
e,
trigger,
});
};
const inputProps = typeof props.search === 'object' ? props.search : { clearable: true };
Expand Down

0 comments on commit 91c36fc

Please sign in to comment.