We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

No dirty bit/state tracking?

Thread ID:

Created:

Updated:

Platform:

Replies:

149236 Nov 19,2019 08:47 PM UTC Nov 25,2019 08:50 AM UTC Xamarin.Forms 3
loading
Tags: SfDataForm
John
Asked On November 19, 2019 08:47 PM UTC

Hello,

I have a sfDataForm working pretty well, but I do not see any internal or on-board "dirty" state tracking for the control?

Is the idea simply to call GetErrors() and if the returned list is not not empty then block form submission?

Thanks,

John

Ajith Kumar Senthil Kumar [Syncfusion]
Replied On November 20, 2019 11:28 AM UTC

Hi John,   
  
Thank you for contacting Syncfusion support 
 
Query 1: 
  
Provided information is insufficient to understand your requirement clearly. On analyzing your sample, we suspect that your requirement is to commit the changes done in the editors to the corresponding properties explicitly. If yes you can change the commit mode in SfDataForm to Explicit. 
 
You can also refer our online user guide documentation regarding the same by the following link, 
 
 
If not Kindly, share more details about your requirement. It will be helpful for us to check on it and provide you a possible solution at the earliest.  
 
 
Query 2: 
Based on the provided information, your requirement of “Allow submission of form once we know all DataFormItems values are valid” can be achieved by allowing the submission once you find the errors in the event ValidationCompleted is zero. This event only invokes when you use ValidationMode Explicit. 
You can also refer our online user guide documentation regarding the same by the following link, 
 
 
We hope this helps. Please let us know, if need any further assistance. 
 
Regards,
Ajith. 
 


John
Replied On November 22, 2019 07:23 PM UTC

Great, thanks for the help - sorted it out!

Ajith Kumar Senthil Kumar [Syncfusion]
Replied On November 25, 2019 08:50 AM UTC

Hi John, 
  
Thank you for the update. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Ajith 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon