After upgrade to v.19.2.0.56 Dropdown List has problem


run the program, the following message  show up 

" An unhandled exception has occurred. See browser dev tools for details" 

I press F12 to use the browser tool  , the error message in  console is as below

blazor.server.js:19 [2021-08-18T09:04:46.313Z] Error: System.NullReferenceException: Object reference not set to an instance of an object.

   at Syncfusion.Blazor.DropDowns.DropDownListEvents`2.OnInitializedAsync()

   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

e.log @ blazor.server.js:19

Before i upgrade, it runs without such problem

Someone can tell me how to do ? or need some information to solve the problem ?  Thanks



3 Replies 1 reply marked as answer

BC Berly Christopher Syncfusion Team August 19, 2021 07:31 AM UTC

Hi Ted, 
  
Greetings from Syncfusion support. 
  
We have checked the reported issue. If the TValue in the component does not match the DropDownList and DropDownListEvents tags, the reported issue will be reproduced on your end. So, we suggest you to ensure that, TValue’s value is assigned correctly in the component definition.  
  
  
Still issue persists, please share the below requested details that will help us to check and proceed further from our end. 
  
1.       Component rendering code 
2.       How did you bind the data source to the component? 
3.       Modify the attached sample with reported issue  
4.       Else, simple issue reproducing sample 
  
Regards, 
Berly B.C 


Marked as answer

TE Ted August 24, 2021 07:08 AM UTC

Thanks a lot



BC Berly Christopher Syncfusion Team August 24, 2021 08:22 AM UTC

Hi Ted, 
  
Most welcome. Please let us know if you need further assistance on this. 
  
Regards, 
Berly B.C 


Loader.
Up arrow icon