We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Getting error Class Constructor Dialog cannot be invoked without new

Thread ID:

Created:

Updated:

Platform:

Replies:

151163 Feb 2,2020 02:21 PM UTC Feb 7,2020 03:47 PM UTC Angular - EJ 2 4
loading
Tags: Dialog
Ameet
Asked On February 2, 2020 02:21 PM UTC

I am getting the following 
Class Constructor Dialog cannot be invoked without new on HTML code. I am attaching the HTML and code for your reference.

This is on 17.4.46.

Please let me know how to get this working.

Thank You,

Regards,

Ameet


Attachment: groupMembers_13a7eaec.zip

Indrajith Srinivasan [Syncfusion]
Replied On February 3, 2020 01:02 PM UTC

Hi Ameet, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query, we are unable to reproduce the reported issue “Getting error Class Constructor Dialog cannot be invoked without new” from our end. We have also prepared a sample. 
 
Could you please provide us the following details to provide solution at earliest 
  • Share a video demo of your issue reproducing sample.
  • If possible, send us the screen shot of the error log, you have faced.
  • Replicate the issue in the above sample and return it to us.
 
Regards, 
Indrajith 


Ameet
Replied On February 5, 2020 01:20 PM UTC

I used your code to compare my code and found out that you are using Angular 7 and I am using Angular 8. I am attaching more files for your reference. It has the screenshots of the console and sources tab. It shows the error what generated it.

Please let me know if you need more information.

Thank You,

Regards,

Ameet



Attachment: dialogError_5aee6675.zip

Indrajith Srinivasan [Syncfusion]
Replied On February 7, 2020 06:30 AM UTC

Hi Ameet,

We have created a new incident under your Direct trac account to follow up with this query. We suggest you to follow up with the incident for further updates. Please log in using the below link. 
 

Regards, 
Indrajith 


Indrajith Srinivasan [Syncfusion]
Replied On February 7, 2020 03:47 PM UTC

Hi Ameet, 
 
Thanks for Joining the meeting, 
 
We are glad than your reported issues are resolved with the meeting by setting the target property as ‘es5’ in tsconfig.json file. The target issue is common in Angular 8 and below is the reference link for it. 
 
 
Please let us know if you need any further assistance on this. 
 
Regards, 
Indrajith 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon