File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/BootstrapBlazor/Components/DateTimePicker Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1717 ShowClearButton =" AllowNull" ShowSidebar =" ShowSidebar" SidebarTemplate =" SidebarTemplate"
1818 DateTimeFormat =" @DateTimeFormat" DateFormat =" @DateFormat" TimeFormat =" @TimeFormat" ShowFooter =" true"
1919 ShowLunar =" ShowLunar" ShowSolarTerm =" ShowSolarTerm" ShowFestivals =" ShowFestivals" ShowHolidays =" ShowHolidays"
20- OnConfirm =" OnConfirm" OnClear =" OnClear" MinValue =" MinValue" MaxValue =" MaxValue"
20+ OnConfirm =" OnConfirm" OnClear =" OnClear" MinValue =" MinValue" MaxValue =" MaxValue" OnDateChanged = " OnDateChanged! "
2121 AutoClose =" AutoClose" ViewMode =" ViewMode" DayTemplate =" DayTemplate!" DayDisabledTemplate =" DayDisabledTemplate!"
2222 OnGetDisabledDaysCallback =" OnGetDisabledDaysCallback!"
2323 EnableDisabledDaysCache =" EnableDisabledDaysCache" >
Original file line number Diff line number Diff line change @@ -234,6 +234,12 @@ public string? Format
234234 [ Parameter ]
235235 public Func < TValue , Task > ? OnBlurAsync { get ; set ; }
236236
237+ /// <summary>
238+ /// 获得/设置 年月改变时回调方法
239+ /// </summary>
240+ [ Parameter ]
241+ public Func < DateTime , Task > ? OnDateChanged { get ; set ; }
242+
237243 [ Inject ]
238244 [ NotNull ]
239245 private IStringLocalizer < DateTimePicker < DateTime > > ? Localizer { get ; set ; }
You can’t perform that action at this time.
0 commit comments