mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 17:01:18 +08:00
d2e9c4b247
* feat(module: config-provider): support RTL * add rtl for each component * fix rtl for pagination * add rtl for overlay
22 lines
872 B
C#
22 lines
872 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
@using AntDesign.Internal;
|
|
|
|
<Row Class="@ClassMapper.Class" Style="@Style" Id="@Id">
|
|
@if (!string.IsNullOrEmpty(Label))
|
|
{
|
|
<AntDesign.Col @attributes="GetLabelColAttributes()" Class=@($"{_prefixCls}-label")>
|
|
<label class=@(Required ? $"{_prefixCls}-required" : _labelCls)> @(Label)</label>
|
|
</AntDesign.Col>
|
|
}
|
|
<AntDesign.Col @attributes="GetWrapperColAttributes()" Class=@($"{_prefixCls}-control")>
|
|
<div class=@($"{_prefixCls}-control-input")>
|
|
<div class=@($"{_prefixCls}-control-input-content")>
|
|
<CascadingValue Value="this" Name="FormItem" TValue="IFormItem" IsFixed="@true">
|
|
@ChildContent
|
|
</CascadingValue>
|
|
</div>
|
|
</div>
|
|
@_formValidationMessages
|
|
</AntDesign.Col>
|
|
</Row> |