Date Picker set selectedDate
to null
doesn't clear date input
#4344
Labels
community
For issues that have been raised by folks outside the core Salt team
component: date input
component: date picker
Latest version
Description
Can't set
selectedDate
tonull
to clear date inputSteps to reproduce
Control
selectedDate
set tonull
https://stackblitz.com/edit/salt-template-tfbgv5?file=App.tsx
Workaround: control date input value as well: https://stackblitz.com/edit/salt-template-mlhorv?file=App.tsx
Expected behavior
My guess
if
is wrong?salt-ds/packages/lab/src/date-input/DateInputSingle.tsx
Lines 242 to 245 in 9e6676c
To be fixed before #4096
Package name(s)
Lab (@salt-ds/lab)
Package version(s)
lab 52
Browser
Operating system
Are you a JPMorgan Chase & Co. employee?
The text was updated successfully, but these errors were encountered: