Skip to content

v6.4.0

Choose a tag to compare

@wojtekmaj wojtekmaj released this 02 Dec 16:32
· 1046 commits to main since this release

What's new?

  • You can use required prop to set an input field as required. Note: Previously all fields were required by default. If you want to keep your fields required, you now need to explicitly do so (#16).
  • Input fields now have placeholders.
  • You can now navigate between fields using left arrow and right arrow, on top key matching date separator.
  • If the user leaves the input in invalid state, React-Date-Picker will now reset to the last valid value.

Bug fixes

  • Fixed an issue where DatePicker placed in a small container could render too small container for React-Calendar.
  • Fixed an issue where typing the date using keyboard from scratch would allow dates like 31.02.2017 or even 99.02.2017 to be passed (they would change to 03.03.2017 and 10.05.2017 respectively). Now input is validated live as the user types in all the values.