Two-way Databinding in Dropdown Tree

Hello,

we have been trying to archive a two-way Binding with the 'Dropdown Tree'-Input in multipe ways:
  • Using ngModel does not seem to work, as the value does not get set
  • We noticed that the 'change'-Event does not fire, when the input is reseted by the user through the corresponding button
  • On the other hand the 'valueChange'-Event seems to fire with an empty array when the component is destroyed
Neither of these approaches seems to work as hoped.

6 Replies 1 reply marked as answer

SA Shameer Ali Baig Sulaiman Ali Baig Syncfusion Team July 1, 2020 09:49 AM UTC

Hi David, 
 
Greetings from Syncfusion support. 
 
We have validated your reported issue with DropdownTree component. But we were unable to replicate your reported issue at our end, since both two-binding support and change event of DropdownTree working properly without issues. Also, change event of DropdownTree is not triggering when destroying the component. 
 
We have prepared a sample for your convenience. 
 
 
 
If your reported problem still persists, then please let us more details regarding it. If possible, replicate your reported problem in the above sample or share us screenshot or video footage of your issue. 
 
This information would help us to check and provide you the prompt solution. 
 
Please, let us know if you need any further assistance. 
 
Regards, 
Shameer Ali Baig S. 



DH David Hülsmeier July 1, 2020 10:19 AM UTC

Hello,

thank you for your reply.
Our problem seems only to occur when 'showCheckBox' is set to true. This can be reproduced with the provided sample.




SP Sowmiya Padmanaban Syncfusion Team July 2, 2020 02:12 PM UTC

Hi David,  
 
We have checked your reported issue with DropdownTree component and we were able to replicate the issue at our end. We have logged this as a bug in DropdownTree component. The fix for this issue will be included in the Volume 2 SP release of 2020, which is expected to be rolled out in late July 2020.  
  
You can track the status through the below portal link. 
  
We appreciate your patience. 
  
Regards,  
Sowmiya.P  



SP Sowmiya Padmanaban Syncfusion Team August 13, 2020 12:34 PM UTC

Hi David, 
 
Sorry for the inconvenience. 
       
Due to some technical complexities, we were unable to include this fix for DropdownTree issue (“ngModel property is not working properly in DropdownTree”) in our Volume 2 SP1 release. Currently, we are working on this with high priority. This fix will be included in our Volume 3 Release which is expected to be rolled out by the end of September 2020.    
   
We appreciate your patience till then.   
     
Regards,     
Sowmiya. P    



SP Sowmiya Padmanaban Syncfusion Team October 1, 2020 01:13 PM UTC

Hi David, 
 
We deepy regret for the inconvenience. 
 
Due to some technical difficulties, we were unable to include this fix in Volume 3 release, 2020. We are working on this fix with high priority. 
  
We will include this fix in Volume 3 SP release which is expected to be rolled out by the end of October  2020. 
  
We appreciate your patience. 
  
Regards, 
Sowmiya P. 



SP Sowmiya Padmanaban Syncfusion Team October 21, 2020 08:04 AM UTC

Hi David, 
 
Thanks for your patience.  
 
We are glad to announce that our patch release (v18.3.42) is rolled out, successfully. In this release, we have included the fix for this issue “Two-way binding is not working when enabled the checkbox support in Dropdown Tree”. To access this fix, we suggest you to update the package (@syncfusion/ej2-dropdowns) to the latest version (v18.3.42).  
 
Refer the following sample with the solution for your reference.  
 

Refer to the release notes below.
 
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Sowmiya.P 


Marked as answer
Loader.
Up arrow icon