I need to iterate the TValue type property in Blazor.
Component Tag as MYComponent.
<select>
@foreach (var item in this.Value(TValue))
{
<option selected value=@item></option>
}
</select>
@code {
public class MYComponent {
public TValue Value {get;set;}
private string[] MyValue = new string[] {"Value1", "Value2"};
}
}
TValue? Where it's defined ? - agua from mars