ВE
Size: a a a
ВE
Ɖ
Ɖ
Ɖ
Ɖ
Ɖ
VL
switch (Type)
{
case Type.Value1:
<EditForm Model="@model1">
@foreach (PropertyInfo input in model1.GetType().GetProperties(...))
{
<InputText id="@input.Name" @bind-Value="вот тут хз, возможно придётся закостылить" />
}
<button type="submit">Submit</button>
</EditForm>
case Type.Value2:
<EditForm Model="@model2">
...
</EditForm>
}
Ɖ
Ɖ
<EditForm Model="@model1">
Ɖ
Ɖ
Ɖ
Ɖ
Ɖ
Ɖ
Ɖ
ВE
Ɖ
ВE