Antd Range picker adding a separator automatically (dd.mm.yyyy)

Viewed 27

RangePicker input is allowing us to select 2 dates, if you write the date like 2022-09-19 (If you didn't specify the format) it will select that date automatically. I want to add that separator "-" automatically when i write date. Is there any easy way for this? I try to achieve this with getElementById but when you give RangePicker an id it only gives to first (start date) input, so i couldn't make it for the end date input. Here is the Rangepicker document documents

0 Answers
Related