Skip to content

Commit

Permalink
GDG-59 fix: timer range end text
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoliangyu committed Oct 12, 2023
1 parent 9820e8a commit bd3f201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ function InnerRangePicker<DateType>(props: RangePickerProps<DateType>) {
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}
Expand Down

0 comments on commit bd3f201

Please sign in to comment.