0

how can i add the / - separator in DayPickerInput during the user digit?

for example in it locale: 23091989 digit should be equal to 23/09/1989

Toni D'Angelo
  • 69
  • 1
  • 8

1 Answers1

0

You can pass any formatter / parser to the formatDate or parseDate props:

http://react-day-picker.js.org/api/DayPickerInput#formatDate

gpbl
  • 4,721
  • 5
  • 31
  • 45