The actionBegin event is not fired when the Save button is pressed

I want to check the validity of the information fields when I press save (or disable the save button if the value is not valid). If the information is not valid, the save button will not work. Can you help me?

https://drive.google.com/file/d/1yEwdN1-TrwlOHznqqMDPMNnG1l3uu_cI/view?usp=sharing

https://drive.google.com/file/d/1GjkU_TmwgjAvTN9ql33ta2D-HoSnKEWE/view?usp=sharing


3 Replies

MS Manivel Sellamuthu Syncfusion Team June 29, 2021 10:50 AM UTC

Hi Toan, 

Greetings from Syncfusion support. 

Based on your shared code example  we can understand you are using reactive forms in Dialog mode editing using editTemplate. We have prepared a simple sample based on your shared code but we are unable to replicate the issue at our end. Please refer the below sample for your reference. 


If you still faced the issue, could you please share the below details, which will be helpful for us to validate further about issue. 

  1. Share the screenshot or video demo of the issue
  2. Share the console error  while clicking the save button if any
  3. If possible, please try to replicate the reported issue in the given sample or share the issue replicable sample

Regards, 
Manivel 



TB Toan Bui June 30, 2021 03:29 AM UTC

I did it. Thank you so much



MS Manivel Sellamuthu Syncfusion Team July 1, 2021 05:06 AM UTC

Hi Toan, 

Thanks for your update. 

We are glad to hear that your query has been resolved. 

Please let us know, if you need further assistance. 

Regards, 
Manivel 


Loader.
Up arrow icon