mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-16 01:41:14 +08:00
7d9d6fc89d
* feat(module: datepicker): support nullable type * fix(module: cascader): displaytext did not change when bind-value change * fix(module: form): can not change layout * docs(module: form): add 'new model' test button Co-authored-by: James Yeung <shunjiey@hotmail.com>
14 lines
372 B
C#
14 lines
372 B
C#
@namespace AntDesign.Internal
|
|
@typeparam TValue
|
|
|
|
<div class="@(DatePicker.PrefixCls)-footer">
|
|
<a class="@(DatePicker.PrefixCls)-today-btn" @onclick="e => DatePicker.ChangePickerValue(DateTime.Now)">
|
|
@this.DatePicker.CultureInfo.GetDateLocale().Today
|
|
</a>
|
|
</div>
|
|
|
|
@code {
|
|
[CascadingParameter]
|
|
public DatePicker<TValue> DatePicker { get; set; }
|
|
|
|
} |