Date and Time picker within the form does not update when using CustomEditor

Hello,
I have a date picker and a time picker within a sfdataform. Both controls have a custom editor registered during initialization. At some point during the execution I am trying to set the editor values via code however the control values do not update. Control values update via code okay when custom editors are not used. 

3 Replies

VR Vigneshkumar Ramasamy Syncfusion Team July 11, 2018 12:28 PM UTC

Hi Kunal,  
  
Thanks for contacting Syncfusion support.   
  
We have checked your query with updating DataObject value and to commit the edited value in DataObject you need to manually call the OnCommitValueoverride method on value changed event to set the value using ItemManager.  
  
Please refer the below link for code example.  
  
If you are used the custom editor inherited from  In-Build Editor in SfDataForm, We have already logged the issue report regarding value changed event not triggered in Xamarin.Forms. We will fix this issue and it will be included in our upcoming Volume2 SP1 release 2018 which is expected to be available by end of month July 2018. We appreciate your patience until then.  
  
If you want to customize the value, you should override GetValue and SetValue methods in DataFormItemManager.  
  
Please refer the below link for code example.  
  
If provided information does not meet your requirement, could you please revert us with detailed information, if possible code example so that we could analyze further and provide you a possible solution.  
  
Regards.  
Vigneshkumar R 



KU Kunal July 17, 2018 07:46 PM UTC

Thank you.


VR Vigneshkumar Ramasamy Syncfusion Team July 18, 2018 04:38 AM UTC

Hi Kunal,  
 
Thanks for the update. Please get in touch if need further assistance on this.  
 
Regards 
Vigneshkumar R 


Loader.
Up arrow icon