Hello,
I am using Telerik DDL for Blazor (2.6.1).
For now it works as expected.
Right now, for what I could see, you can only databind to the selected VALUE (via bind-Value property).
Is there a way that I missed, to databind via the selected ITEM?
I use this code:
<TelerikDropDownList Data="@MyListOfMyItem"
TextField="@(nameof(MyItem.prop1))" ValueField="@(nameof(MyItem.prop1))"
@bind-Value=@MyItemSelected
TItem="MyItem" TValue="string"/>
At the moment, I can only access to the prop1 property of the selected MyItem element (using @bind-Value).
I can obviously deduct the MyItem element from the collection via LinQ,
but I would definitelyprefer to have another binding property that directly returns the MyItem element to me.
In other words, something similar to the SelectedItem from MS components.
Is there a way to do that? If not, is it something that you plan to release in the future?
Thx in advance
A