adobe/react-spectrum

[RAC] DatePicker `onChange` prop is not documented

Closed this issue ยท 1 comments

agos commented

๐Ÿ™‹ Documentation Request

I noticed this because the type of the onChange prop changed to include null but on the documentation page it's not mentioned when null will be passed to the callback, or anything else about it really

๐Ÿงข Your Company/Team

No response

It's null when the date is cleared (e.g. backspace). This has always been the case but the types were wrong before.