We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3d4b3c commit acb8fdbCopy full SHA for acb8fdb
src/PickerInput/Selector/SingleSelector/index.tsx
@@ -130,7 +130,7 @@ function SingleSelector<DateType extends object = any>(
130
const rootProps = useRootProps(restProps);
131
132
// ======================== Change ========================
133
- const handleSingleChange = (date: DateType) => {
+ const handleSingleChange = (date: DateType | null) => {
134
if (date === null) {
135
// When date is null (from manual clear), delegate to onClear handler
136
// to properly trigger onChange and close the picker
0 commit comments