57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
@using CORE.Data.DbModels
|
|
@using UI.Data
|
|
@inject GpwDataService GDataServ
|
|
|
|
<b>selezionato @currRecord.IdxRa</b>
|
|
<div>@currRecord.Inizio</div>
|
|
<button class="btn btn-warning" @onclick="DoReset">Reset</button>
|
|
|
|
|
|
|
|
<EditForm Model="@currRecord">
|
|
<DataAnnotationsValidator />
|
|
<ValidationSummary />
|
|
|
|
<div class="row">
|
|
<div class="col-3">
|
|
<div class="input-group">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">
|
|
<span class="fas fa-qrcode" aria-hidden="true"></span>
|
|
</span>
|
|
</div>
|
|
<InputTextArea id="idxRa" @bind-Value="@currRecord.Descrizione" class="form-control" title="Descrizione attività"></InputTextArea>
|
|
</div>
|
|
</div>
|
|
@* <div class="col-3 pl-0">
|
|
<div class="input-group">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text"><span class="fas fa-calendar" aria-hidden="true"></span></span>
|
|
</div>
|
|
<InputDate class="form-control" @bind-bind-Value="@currRecord.Inizio" />
|
|
</div>
|
|
</div>*@
|
|
</div>
|
|
|
|
</EditForm>
|
|
|
|
|
|
@code {
|
|
|
|
|
|
[Parameter]
|
|
public RegAttivitaModel currRecord { get; set; }
|
|
|
|
|
|
[Parameter]
|
|
public EventCallback<bool> ItemReset { get; set; }
|
|
|
|
/// <summary>
|
|
/// Indico item selezionato
|
|
/// </summary>
|
|
protected async void DoReset()
|
|
{
|
|
await ItemReset.InvokeAsync(true);
|
|
}
|
|
}
|