< Summary

Information
Class: Syki.Front.Components.Custom.SykiDatePicker
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Components/Custom/SykiDatePicker.razor
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 31
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Date()100%210%
get_DateChanged()100%210%
get_Label()100%210%
get_Editable()100%210%

File(s)

/home/runner/work/syki/syki/Front/Components/Custom/SykiDatePicker.razor

#LineLine coverage
 1@namespace Syki.Front.Components.Custom
 2
 3<MudDatePicker
 4    Margin="Margin.Dense"
 5    Variant="Variant.Outlined"
 6    Editable="@Editable"
 7    Required="true"
 8    RequiredError="Informe!"
 9    Label="@Label"
 10    Date="@Date"
 11    DateChanged="@DateChanged"
 12    Mask="@(new DateMask("dd/MM/yyyy"))"
 13    DateFormat="dd/MM/yyyy"
 14    Placeholder="dd/MM/yyyy"
 15    PickerVariant="PickerVariant.Dialog"
 16/>
 17
 18@code
 19{
 20    [Parameter]
 021    public DateTime? Date { get; set; }
 22
 23    [Parameter]
 024    public EventCallback<DateTime?> DateChanged { get; set; }
 25
 26    [Parameter]
 027    public string Label { get; set; }
 28
 29    [Parameter]
 030    public bool Editable { get; set; }
 31}