diff --git a/libs/ui/src/lib/input/AmharicDatePicker.tsx b/libs/ui/src/lib/input/AmharicDatePicker.tsx index 70a0a70c7..d9d256eb0 100644 --- a/libs/ui/src/lib/input/AmharicDatePicker.tsx +++ b/libs/ui/src/lib/input/AmharicDatePicker.tsx @@ -279,7 +279,7 @@ export function AmharicDatePicker({ formatters={ETH_FORMATTERS} onSelect={(date: Date | undefined) => { onChange?.(date ? formatWireValue(mergeDateTime(selected, date), dateFormat, withTime) : ''); - close(); + if (!withTime) close(); }} /> ) : ( @@ -292,7 +292,7 @@ export function AmharicDatePicker({ captionLayout="dropdown" onSelect={(date: Date | undefined) => { onChange?.(date ? formatWireValue(mergeDateTime(selected, date), dateFormat, withTime) : ''); - close(); + if (!withTime) close(); }} /> )}