Urgent: Using Dialog as service how to render components in DialogModel's content property

Good day

I have used the implementation as you described here:

I need to render a subcomponent in the Dialog so need to set a subcomponent as the content for dialog using ng-template or with a direct component assign

Same concept as this:

If I can route a component into dialog it will also work

1 Reply

IS Indrajith Srinivasan Syncfusion Team February 19, 2020 04:14 PM UTC

Hi Jaco, 
 
Greetings from Syncfusion Support, 
 
We have validated your reported query, we can't render the subcomponent with ng-template using the service instead we can render component inside the dialog using the reusable component concept.  
 
We have also prepared a sample based on your requirement. 
 
 
Regards, 
Indrajith 


Loader.
Up arrow icon