Skip to content

Can not set DatePicker input id via inputProps #1153

@DavidCasillasRivero

Description

@DavidCasillasRivero

Setting the DatePicker inputProps.id property is not working.

With this code the final id of the input element is rw_1_input.

<DatePicker inputProps={{ id: 'inputId }} .../>

With this code the final id of the input element is mainId_input.

<DatePicker id="mainId" inputProps={{ id: 'inputId' }} .../>

These closed issues reports the same and seems to be closed and fixed in 2021.

#1023
#1024

Using "react-widgets": "^5.8.3"

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