coreui / coreui-free-react-admin-template

Open source admin template based on Bootstrap 5 and React.js
https://coreui.io/product/free-react-admin-template/
MIT License
4.6k stars 2.33k forks source link

CDatePicker element id not loaded on browser #427

Closed songchiang92 closed 1 month ago

songchiang92 commented 3 months ago

OS - Windows Browser - FireFox Version 128.0 (64-bit)

<CDatePicker date={formData.requestedAppointmentDateTime} value={formData.requestedAppointmentDateTime} name="requestedAppointmentDateTime" id='requestedAppointmentDateTime' inputDateParse={(date) => parse(date, 'MMMM dd, yyyy', new Date())} inputDateFormat={(date) => format(new Date(date), 'yyyy-MM-dd')} />

For CDatePicker, I am unable to obtain value by using var requestedAppointmentDateTime = document.getElementById("requestedAppointmentDateTime").value

and when i inspect the element, the id wasnt even loaded image

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions