mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 05:27:37 +08:00
c3b0b114e6
* feat: add form(not complete yet) * feat: add form(basic) * refactor: change namespace * feat(module: form): add onFinish, onFinishFailed, reset * feat(module: form): add layout demo * feat(module: form): update doc * refactor: basic form Co-authored-by: ElderJames <shunjiey@hotmail.com>
22 lines
695 B
C#
22 lines
695 B
C#
@namespace AntDesign
|
|
@inherits AntInputComponentBase<string>
|
|
|
|
<label class="ant-checkbox-wrapper" style="@Style;" id="@Id" @ref="Ref">
|
|
<span class="@ClassMapper.Class" style="">
|
|
<input @ref="_inputElement"
|
|
value="@(Value)"
|
|
checked="@(Checked)"
|
|
disabled="@(Disabled)"
|
|
@onchange="@InputCheckedChange"
|
|
@attributes="@InputAttributes"
|
|
type="checkbox"
|
|
class="ant-checkbox-input" />
|
|
<span class="ant-checkbox-inner"></span>
|
|
</span>
|
|
@if (ChildContent != null)
|
|
{
|
|
<span @ref="_contentElement">
|
|
@ChildContent
|
|
</span>
|
|
}
|
|
</label> |