Hi Ebenezer,
Greetings from Syncfusion!!!
As per your mentioned scenario, we have checked your reported problem at our end. But, we are unable to reproduce your reported script error problem at our end. Could you please check the below sample?
We suspect, the below cases in your application for the cause of this issue.
- Package version conflicts. We recommend the below steps to ensure it.
- Remove package.lock.json file from the application root
- Run the command ‘npm cache clean -f’ to clean the cache in your system.
- Did you rendered the DatePicker component in Angular way using ejs-datepicker or typescript rendering (new DatePicker({}))?
- If so, we recommend you render the component using ejs-datepicker angular tag directive. If not, please share the rendering part of the code-section and router navigation scenario.
If we misunderstood your requirement, kindly revert us with a code snippets or sample or modify the above attached sample to reproduce the reported issue. This will make us to give you a prompt solution at the earliest.
Please let us know if you need any further assistance on this.
Regards,
Ashokkumar B.