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!
Hello Syncfusion
I Have a Blazor component with the code below. This code is OK in a Blazor Web app, but the DropDownEvents are not firing in a .Net Maui Hybrid (Blazor) App.
Furthermore is that the selected value is not shown in the dropdown field
<SfToolbar>
<ToolbarItems>
<ToolbarItem>
<SfDropDownList TValue="int" TItem="IdTextPar" Placeholder="Velg maaler" DataSource="@Maalere">
<DropDownListFieldSettings Value="Id" Text="Text"></DropDownListFieldSettings>
<DropDownListEvents TValue="int" TItem="IdTextPar" OnValueSelect="OnMaalerValgt"></DropDownListEvents>
</SfDropDownList>
</ToolbarItem>
</SfToolbar>
...
public class IdTextPar
{
public int Id { get; set; }
public string Text { get; set; } = string.Empty;
}
// Dropdown målere
List<IdTextPar> Maalere = new List<IdTextPar>
{
new IdTextPar() { Id = 1, Text= "5706567269677579" },
new IdTextPar() { Id = 2, Text= "5706567279434810" },
};
...
protected void OnMaalerValgt(SelectEventArgs<IdTextPar> args)
{
// NEVER CALLED
...
}