Skip to content

Missing DatePicker icon with React 19 #1161

@lclement57

Description

@lclement57

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions