react-widgets
react-widgets copied to clipboard
Can not set DatePicker input id via inputProps
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"
I also cannot set the input id attribute using DropdownList:
https://github.com/jquense/react-widgets/issues/1121#issuecomment-2571437747