Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Getting "Cannot read property 'isComplexArray' of null" when binded property is initialized on render (se example below). If "SelectedGame" is not initialized, no error is thrown. I'm on latest Blazor
3.2.0-preview1.20073.1, latest dotnet 3.1.2 and latest Syncfusion 17.4.0.51
<EjsDropDownList TValue="string" TItem="Games" Placeholder="Select a game" @bind-Value="@SelectedGame" DataSource="@LocalData">
<DropDownListFieldSettings Value="ID" Text="Text"></DropDownListFieldSettings>
</EjsDropDownList>
string SelectedGame { get; set; } = "Game4";
public class Games
{
public string ID { get; set; }
public string Text { get; set; }
}
List LocalData = new List {
new Games() { ID= "Game1", Text= "American Football" },
new Games() { ID= "Game2", Text= "Badminton" },
new Games() { ID= "Game3", Text= "Basketball" },
new Games() { ID= "Game4", Text= "Cricket" },
new Games() { ID= "Game5", Text= "Football" },
new Games() { ID= "Game6", Text= "Golf" },
new Games() { ID= "Game7", Text= "Hockey" },
new Games() { ID= "Game8", Text= "Rugby"},
new Games() { ID= "Game9", Text= "Snooker" },
new Games() { ID= "Game10", Text= "Tennis"},
};