We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f62bf22 commit 9a52ed3Copy full SHA for 9a52ed3
client/packages/lowcoder/src/comps/comps/textInputComp/textInputConstants.tsx
@@ -233,6 +233,10 @@ export const useTextInputProps = (props: RecordConstructorToView<typeof textInpu
233
debouncedOnChangeRef.current?.(value, propsRef.current.value);
234
};
235
236
+ const handleBlur = () => {
237
+ touchRef.current = false;
238
+ };
239
+
240
// Cleanup refs on unmount
241
useEffect(() => {
242
return () => {
@@ -252,6 +256,7 @@ export const useTextInputProps = (props: RecordConstructorToView<typeof textInpu
252
256
} as any,
253
257
}),
254
258
onChange: handleChange,
259
+ onBlur: handleBlur,
255
260
},
261
validateState,
262
];
0 commit comments