Using EditForm within Dialog Template

Hello everyone,


I am implementing a customer data entry form with validation support for a project I am working on. The form is hosted within sfDialog Template.

Everything seems to work but:

  1. Validation does not work.
  2. The OnValidSubmit handler does not fire when Submit button is clicked

I can't figure what I am doing wrong. I have included my code block in the attachment below.

Any assistance is greatly appreciated.

Thank you



Attachment: NewCustomerDialog_d96e6b74.rar


4 Replies 1 reply marked as answer

KP Kokila Poovendran Syncfusion Team October 23, 2023 12:35 PM UTC

Hi Paul,


Greeting from Syncfusion support!


We have reviewed your query and prepared a simple sample based on your requirements. However, we were unable to replicate the issue on our end. Please take a look at the sample we've prepared. In this sample, the submit function fires correctly, and validation is also performed.


You can review the sample here: https://blazorplayground.syncfusion.com/LDBUMDrqpzauhrVw


If you continue to face any issues, please consider modifying the provided sample to match your specific requirements. 


Regards,

Kokila Poovendran.


Marked as answer

PA Paul November 3, 2023 09:20 AM UTC

Thanks for your help. I will study your sample and revert back to you ASAP 


Thanks once again for your help 



SS Shereen Shajahan Syncfusion Team November 6, 2023 07:14 AM UTC

Hi Paul,

Thank you for the update. Please get back to us for assistance in the future.

Regards,

Shereen



PA Paul November 16, 2023 01:34 PM UTC

Hi  Shereen,


Thanks for your assistance. Your suggestion worked. 


I am very grateful for the usual prompt assistance


Loader.
Up arrow icon