How to include a form into a modal dialog ?

Hello,

I would like to have a <form> into a modal sfdialog.

My target is to have the submit button to be executed when i press ENTER key.

How to make it ?

3 Replies 1 reply marked as answer

IS Indrajith Srinivasan Syncfusion Team June 16, 2020 02:36 PM UTC

Hi Patrice,

Greetings from Syncfusion support,

We have validated your reported query. Yes, you can have the form inside the Modal SfDialog using the DialogTemplates. By default in SfDialog, the Enter key action will perform submit action. We have also prepared a sample that tries to meet your requirements.
 
 
 
Please let us know if the solution helps,

Regards,
 
Indrajith 


Marked as answer

PA Patrice June 16, 2020 02:54 PM UTC

Thank a lot for your support


IS Indrajith Srinivasan Syncfusion Team June 16, 2020 03:27 PM UTC

Hi Patrice,

Thanks for the update,

Please let us know if you need any further assitance,

Regards, 
Indrajith 


Loader.
Up arrow icon