ant-design-blazor/components/date-picker/internal/DatePickerFooter.razor
笨木头 7d9d6fc89d fix(module: form): value not change when model change (#333)
* 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>
2020-07-11 23:03:13 +08:00

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; }
}