Getting Error in Date Time Variables - Cannot read properties of undefined (reading 'initial_value')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 02:06 AM - edited 09-12-2023 02:11 AM
I am using a simple Date and time type variable to capture the date, there is no default value.
It is only for selecting date and time, but when the user selects the field, nothing happens When I checked the console log, I saw the message given below.
But when I reload the page, it works as expected. it is not working on the first load of the page.
Can anyone please provide the solution for this
Thanks in advance
js_includes_sp.jsx?v=08-08-2023_1235&lp=Mon_Jul_31_14_01_16_PDT_2023&c=29_724:39591 Uncaught TypeError: Cannot read properties of undefined (reading 'initial_value')
at HTMLSpanElement.onDpChange (js_includes_sp.jsx?v=08-08-2023_1235&lp=Mon_Jul_31_14_01_16_PDT_2023&c=29_724:39591:32)
at HTMLSpanElement.dispatch (js_includes_sp_libs.jsx?v=08-08-2023_1235&lp=Mon_Jul_31_14_01_16_PDT_2023&c=29_724:19:7496)