react-widgets icon indicating copy to clipboard operation
react-widgets copied to clipboard

Missing DatePicker icon with React 19

Open lclement57 opened this issue 1 year ago • 1 comments

Hello,

Problem

When upgrading to React 19, the calendar icon of the DatePicker is no longer visible.

Steps to reproduce

https://codesandbox.io/p/sandbox/exciting-glitter-9d9l8g

This is likely caused by the fact that defaultProps are no longer supported and should be replaced by default parameters (https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-proptypes-and-defaultprops)

lclement57 avatar Jan 13 '25 12:01 lclement57

Not only the icon but the whole DatePicker is not working OnChange event always return invalid date Can we please please have a fix on this as this prevent us from updating react 19 Thank you

Chapre avatar Mar 16 '25 17:03 Chapre