Skip to content

Commit 451d9f8

Browse files
Merge pull request #2079 from iamfaran/fix/blur-input-event
[Fix]: input blur event
2 parents 0fd2b16 + a4541f3 commit 451d9f8

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)