Update comp periodo:
- possibile inizializzare periodo
This commit is contained in:
@@ -15,12 +15,12 @@
|
||||
}
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<PeriodoSel E_PeriodoSel="setPeriodo"></PeriodoSel>
|
||||
<PeriodoSel E_PeriodoSel="setPeriodo" CurrPeriodo="@periodo"></PeriodoSel>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
protected DtUtils.Periodo? periodo { get; set; } = null;
|
||||
protected DtUtils.Periodo? periodo { get; set; } = new DtUtils.Periodo(DtUtils.PeriodSet.ThisTrim);
|
||||
|
||||
protected async Task setPeriodo(DtUtils.Periodo newPeriodo)
|
||||
{
|
||||
|
||||
@@ -14,7 +14,8 @@ namespace EgwCoreLib.Razor
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected DtUtils.Periodo CurrPeriodo
|
||||
[Parameter]
|
||||
public DtUtils.Periodo CurrPeriodo
|
||||
{
|
||||
get => currPeriodo;
|
||||
set
|
||||
|
||||
Reference in New Issue
Block a user