-
Hi, can't find an example for this. Tried:
where This does not compile with the message being there is a null object in the |
Beta Was this translation helpful? Give feedback.
Answered by
stsrki
Jun 24, 2021
Replies: 1 comment 1 reply
-
Your Select type is <FilterTemplate>
<Select TValue="int" SelectedValue="@(Convert.ToInt32(context.SearchValue))" SelectedValueChanged="@(e => context.TriggerFilterChange(e))">
@foreach ( var v in valueDictionary )
{
<SelectItem TValue="int" Value="@((int)v.Key)">@v.Value</SelectItem>
}
</Select>
</FilterTemplate> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
GilShalit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your Select type is
TValue="int"
. While FilterContextSearchValue
isobject
type. They must match.