ant-design-blazor/components/radio/RadioGroup.razor
James Yeung 7e5e83ee19 fix(module: radio): add defaultChecked and defaultValue (#1494)
* fix(module: radio): add defaultChecked and defaultValue

* add tests

* add test for radio group
2021-05-15 22:59:18 +08:00

11 lines
339 B
C#

@namespace AntDesign
@typeparam TValue
@inherits AntInputComponentBase<TValue>
<CascadingValue Value="this" IsFixed="@true">
<CascadingValue Value="true" Name="InGroup" IsFixed>
<div class="@ClassMapper.Class" style="@Style" id="@Id" @ref="Ref">
@ChildContent
</div>
</CascadingValue>
</CascadingValue>