picker icon indicating copy to clipboard operation
picker copied to clipboard

fix: check on wrong value in `RangePicker` `onSubmit`

Open AmyHuang82 opened this issue 3 years ago • 2 comments

In RangePicker selectedValue will be an array. So when user typing invalid or disabled start date this !selectedValue equals to ![] will be false, and then pass undefined to -disabledDate function.

AmyHuang82 avatar Sep 26 '23 15:09 AmyHuang82

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
picker ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2023 11:57am

vercel[bot] avatar Sep 26 '23 15:09 vercel[bot]

Please add some test case to cover it.

yoyo837 avatar Oct 06 '23 07:10 yoyo837