File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
src/BootstrapBlazor/Components/DateTimeRange Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3333 </div >
3434 }
3535 <CascadingValue Value =" this" IsFixed =" true" >
36- <DatePickerBody Value =" @StartValue" ValueChanged =" UpdateValue" OnDateChanged =" OnStartDateChanged"
37- DateFormat =" @DateFormat" TimeFormat =" @TimeFormat" ViewMode =" ViewMode"
38- ShowLunar =" ShowLunar" ShowSolarTerm =" ShowSolarTerm" ShowFestivals =" ShowFestivals" ShowHolidays =" ShowHolidays"
39- ShowRightButtons =" @_showRightButtons" MaxValue =" MaxValue" MinValue =" MinValue" >
40- </DatePickerBody >
4136 @if (RenderMode == DateTimeRangeRenderMode .Double )
4237 {
43- <DatePickerBody Value =" @EndValue " ValueChanged =" UpdateValue" OnDateChanged =" OnEndDateChanged "
38+ <DatePickerBody Value =" @StartValue " ValueChanged =" UpdateValue" OnDateChanged =" OnStartDateChanged "
4439 DateFormat =" @DateFormat" TimeFormat =" @TimeFormat" ViewMode =" ViewMode"
4540 ShowLunar =" ShowLunar" ShowSolarTerm =" ShowSolarTerm" ShowFestivals =" ShowFestivals" ShowHolidays =" ShowHolidays"
46- ShowLeftButtons =" false" MaxValue =" MaxValue" MinValue =" MinValue" >
41+ ShowRightButtons =" false" MaxValue =" MaxValue" MinValue =" MinValue" >
4742 </DatePickerBody >
4843 }
44+ <DatePickerBody Value =" @EndValue" ValueChanged =" UpdateValue" OnDateChanged =" OnEndDateChanged"
45+ DateFormat =" @DateFormat" TimeFormat =" @TimeFormat" ViewMode =" ViewMode"
46+ ShowLunar =" ShowLunar" ShowSolarTerm =" ShowSolarTerm" ShowFestivals =" ShowFestivals" ShowHolidays =" ShowHolidays"
47+ ShowLeftButtons =" @_showLeftButtons" MaxValue =" MaxValue" MinValue =" MinValue" >
48+ </DatePickerBody >
4949 </CascadingValue >
5050 </div >
5151 <div class =" picker-panel-footer" >
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ public bool AllowNull
270270 . AddClass ( "disabled" , IsDisabled )
271271 . Build ( ) ;
272272
273- private bool _showRightButtons = false ;
273+ private bool _showLeftButtons = false ;
274274
275275 /// <summary>
276276 /// <inheritdoc/>
@@ -297,7 +297,7 @@ protected override void OnInitialized()
297297 }
298298 }
299299
300- _showRightButtons = RenderMode == DateTimeRangeRenderMode . Single ;
300+ _showLeftButtons = RenderMode == DateTimeRangeRenderMode . Single ;
301301 }
302302
303303 /// <summary>
You can’t perform that action at this time.
0 commit comments