creativetimofficial / ct-paper-dashboard-pro-angular

8 stars 10 forks source link

SweetDialog don't load components #22

Closed jhonatan2760 closed 5 years ago

jhonatan2760 commented 6 years ago

Hello everyone, i've a problem with sweet dialog, when i need to create a modal dialog with a form, i'm not be able to use a Custom Angular Component, directive or some else that uses @Angular/core.

swal({ title: 'Input something', html: '<app-my-custom-component></app-my-custom-component>' })

Regrats.

MarcosRibeiroJesus commented 6 years ago

I want to know if it's possible too.

chelaruc commented 6 years ago

@jhonatan2760 @MarcosRibeiroJesus check this out: https://github.com/sweetalert2/ngx-sweetalert2#swalpartialdirective and tell me if it helps you. Best, Ciprian

jhonatan2760 commented 5 years ago

Thanks bro!

jhonatan2760 commented 5 years ago

I want to know if it's possible too.

Não sei Marcos, até agora nada e você? kkkkk