Skip to content

Commit f39ff4c

Browse files
committed
fix bug related to ticket #6703 placeholder not updating due to wrong focus state
1 parent a7d0cd5 commit f39ff4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/datetime2/src/components/date-input3/dateInput3.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ export const DateInput3: React.FC<DateInput3Props> = React.memo(function _DateIn
374374
const handleInputBlur = React.useCallback(
375375
(e: React.FocusEvent<HTMLInputElement>) => {
376376
if (inputValue == null || valueAsDate == null) {
377+
setIsInputFocused(false);
377378
return;
378379
}
379380

0 commit comments

Comments
 (0)