chakra-ui / ark

Ark UI is a headless UI library with over 45+ components designed to build scalable Design Systems that works for a wide range of JS frameworks.
https://ark-ui.com
MIT License
3.8k stars 109 forks source link

DatePicker #2968

Closed eduardocque closed 1 month ago

eduardocque commented 1 month ago

Description

after major release now fails image

Link to Reproduction (or Detailed Explanation)

dont have

Steps to Reproduce

after upgrade from V3 to V4, even that i dont have setup (value / min / max / defaultValue) crash a lot with invalid date or this one in the screenshot

Ark UI Version

4.1.0

Framework

Browser

Chrome

Additional Information

No response

eduardocque commented 1 month ago

based on the documentation min/max should be DateValue or undefined

image

but somewhere in the code is setting up the variables as empty string image

to be sure im not making something wrong im not even passing those values

image