components
components copied to clipboard
[Calendar] Setting the month makes storybook crash
Provide a general summary of the issue here
When setting the month with the storybook control the whole page crashed because month?.toISOString is not a function
๐ค Expected Behavior?
Month changes to the month set
๐ฏ Current Behavior
๐ Possible Solution
No response
๐ฅ๏ธ Steps to Reproduce
- Go to https://storybook.sanomalearning.design/?path=/story/date-time-calendar--min-max
- Open the controls
- set "month", "min" or "max" to any value
- Boom!
What browsers are you seeing the problem on? (only for bugs in code)
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS
๐ค Your name
Diana
๐งข Your product/team
SLDS
๐จ Your Theme(s)
Sanoma Learning