Skip to content

Commit a4541f3

Browse files
committed
[Fix]: input blur event
1 parent 68150c9 commit a4541f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/packages/lowcoder/src/comps/comps/textInputComp/textInputConstants.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ export const useTextInputProps = (props: RecordConstructorToView<typeof textInpu
234234
};
235235

236236
const handleBlur = () => {
237+
debouncedOnChangeRef.current.flush?.();
237238
touchRef.current = false;
239+
propsRef.current.onEvent("blur");
238240
};
239241

240242
// Cleanup refs on unmount

0 commit comments

Comments
 (0)