Dropdownlist Regression in 19.2 : Support for Enum arrays is broken

Hi There,

This was working really well in SF Blazor  19.1.069 : 


public enum TestEnum  
{ 
value0 = 0,
value1 = 1,
value2 = 2
}

protected TestEnum[] EnumList = Enum.GetValues<TestEnum>();
protected TestEnum EnumVal ; 


<SfDropDownList TValue="AssetCategory" TItem="AssetCategory" DataSource="@AssetCategories" @bind-Value="@theAssetCategory"/>


But now throws an exception in 19.2.0.49 when the list is expanded

[12:06:22 WRN] Unhandled exception rendering component: Object reference not set to an instance of an object.System.NullReferenceException: Object reference not set to an instance of an object.   at Syncfusion.Blazor.DropDowns.SfDropDownList`2.ListFocus()   at Syncfusion.Blazor.DropDowns.SfDropDownList`2.CreatePopup()   at Syncfusion.Blazor.DropDowns.SfDropDownList`2.ShowPopup()   at Syncfusion.Blazor.DropDowns.SfDropDownList`2.DropDownClick()   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)



2 Replies

DR Deepak Ramakrishnan Syncfusion Team August 2, 2021 01:09 PM UTC

Hi Joseph, 
 
 
Greetings from Syncfusion support.

 
We are working on your requirement. We will update the further details on or before 4rd,August 2021.Until then We appreciate your patience . 
 
 
Regards, 
Deepak R. 



DR Deepak Ramakrishnan Syncfusion Team August 4, 2021 11:20 AM UTC

Hi Joseph, 
 
Thanks for your patience. 
 
We have analyzed the reported issue and we are able to reproduce the reported issue at our end also. We have confirmed the reported query as a bug. Thank you for taking the time to report this issue and helping us improve our product. Fix for the bug will be included in our upcoming release which is expected to be rolled out by mid of August 2021. We will update you once the release is rolled out. 
You can track the status of the issue by using the below feedback link. 
 
Thanks, 
Deepak R. 


Loader.
Up arrow icon