Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not set DatePicker input id via inputProps #1153

Open
DavidCasillasRivero opened this issue Dec 30, 2023 · 0 comments
Open

Can not set DatePicker input id via inputProps #1153

DavidCasillasRivero opened this issue Dec 30, 2023 · 0 comments

Comments

@DavidCasillasRivero
Copy link

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"

@DavidCasillasRivero DavidCasillasRivero changed the title Can not set DatePicker id via inputProps Can not set DatePicker input id via inputProps Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant