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

Can not set DatePicker input id via inputProps

Open DavidCasillasRivero opened this issue 1 year ago • 1 comments

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.

https://github.com/jquense/react-widgets/issues/1023 https://github.com/jquense/react-widgets/pull/1024

Using "react-widgets": "^5.8.3"

DavidCasillasRivero avatar Dec 30 '23 12:12 DavidCasillasRivero

I also cannot set the input id attribute using DropdownList:

https://github.com/jquense/react-widgets/issues/1121#issuecomment-2571437747

nbkhope avatar Jan 04 '25 23:01 nbkhope