diff --git a/src/RangePicker.tsx b/src/RangePicker.tsx index b8a997b..9fa76f3 100644 --- a/src/RangePicker.tsx +++ b/src/RangePicker.tsx @@ -1368,7 +1368,7 @@ function InnerRangePicker(props: RangePickerProps) { readOnly={inputReadOnly || typeof formatList[0] === 'function' || !endTyping} value={endText} onChange={(e) => { - triggerEndTextChange(e.target.value); + triggerEndTextChange((e.target.value || '').replaceAll(':', ':')); }} placeholder={getValue(placeholder, 1) || ''} ref={endInputRef}