@using Connected.Models;

@inherits InputBase;

<label class="radio-group"
       for="@Id">
    <input class="@ClassNameList"
           id="@Id"
           name="@ParentRadioGroup?.Name"
           type="radio"
           @onchange="OnChange"
           @attributes=@InputAttributes
           disabled="@Disabled"
           readonly="@Readonly"
           checked="@Checked">

    <div class="radio-fill"></div>

    <label for="@Id"
           class="@LabelClassNameList">@Label</label>
</label>