Update comp periodo:

- possibile inizializzare periodo
This commit is contained in:
Samuele Locatelli
2023-06-28 17:23:33 +02:00
parent ec92cbc6ed
commit 80c2214265
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -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)
{
+2 -1
View File
@@ -14,7 +14,8 @@ namespace EgwCoreLib.Razor
#region Protected Properties
protected DtUtils.Periodo CurrPeriodo
[Parameter]
public DtUtils.Periodo CurrPeriodo
{
get => currPeriodo;
set