83cf80a289
- Modifiche interfaccia - Correzioni varie
24 lines
817 B
Plaintext
24 lines
817 B
Plaintext
<div class="form-floating mb-2">
|
|
@if (BaseUser)
|
|
{
|
|
@if (CurrValue is String)
|
|
{
|
|
<input type="text" readonly class="form-control" value="@CurrOpt.ValueList.FirstOrDefault(x => x.sValue.Equals(CurrValue))!.sDescription">
|
|
}
|
|
else
|
|
{
|
|
<input type="number" readonly class="form-control" value="@CurrOpt.ValueList.FirstOrDefault(x => x.sValue == CurrValue)!.sDescription">
|
|
}
|
|
<label>@(CurrOpt.sName)</label>
|
|
}
|
|
else
|
|
{
|
|
<select class="form-select" @bind="CurrValue">
|
|
@foreach (var currValueCombo in CurrOpt.ValueList)
|
|
{
|
|
<option value="@currValueCombo.sValue">@currValueCombo.sDescription</option>
|
|
}
|
|
</select>
|
|
<label>@(CurrOpt.sName)</label>
|
|
}
|
|
</div> |