Initial value in dropdownlist makes the EditContext modified

Hi,

In version 19 we get wrong behavior when using a dropdownlist with an initial value in an EditForm. The EditContext is marked als modified when opening the form. I added an small example. If you open the dialog with the left button en click OK without modifying anything, you can see that EditContext.IsModified() is true. Wihout an initial value (the right button) the behaviour is correct.

In version 18 we did not see this behavior.

Kind Regards,
Wietze Blokstra

Attachment: ExampleModifiedContext_cccec4f0.zip

2 Replies 1 reply marked as answer

BC Berly Christopher Syncfusion Team April 19, 2021 09:50 AM UTC

Hi Wietze, 
  
Greetings from Syncfusion support. 
  
We have confirmed the reported issue as a bug at our end and this fix will be included in our upcoming patch release scheduled on 20th April 2021. We appreciate your patience until then. Please track the status from the below feedback. 
  
  
Regards, 
Berly B.C 



BC Berly Christopher Syncfusion Team April 28, 2021 05:57 AM UTC

Hi Wietze,  
   
Thanks for the patience.   
   
We are glad to announce that our latest release in the version 19.1.57 has been rolled out successfully and in that release, we have included the “EditContext.IsModified() returns true when we render the DropDownList with pre-select value”.  So, we suggest you upgrade our Syncfusion packages to the latest version to resolve this issue in your end.  
   
Please find the release notes details from the below link.   
   
Regards,  
Berly B.C  


Marked as answer
Loader.
Up arrow icon