telerik / kendo-react

Issue tracker - KendoReact http://www.telerik.com/kendo-react-ui/
https://kendo-react-teal.vercel.app
Other
212 stars 37 forks source link

[Bug][DateRangePicker] User can set month to zero #1781

Open filipKovachev opened 10 months ago

filipKovachev commented 10 months ago

I'm submitting a...

Current behavior

Currently, the user can type 0 in the DateRangePicker for a month which is not correct.

Expected behavior

The user should not be able to enter zero for the month, instead, it can be changed to 1 if he does so.

Minimal reproduction of the problem with instructions

  1. Open this example: https://stackblitz.com/edit/react-glnri4?file=app%2Fmain.tsx
  2. Enter zero for the month

Reported in Ticket ID: 1632555

pattt commented 10 months ago

Is there an assumption when it can be fixed?