File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
src/BootstrapBlazor/Components Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 3838 </button >
3939 }
4040 <div class =" d-flex align-items-center justify-content-center flex-fill" >
41- <DynamicElement TagName = " span" role =" button" class =" picker-panel-header-label" OnClick =" () => SwitchView(DatePickerViewMode.Year)" >@YearString </DynamicElement >
42- <DynamicElement TagName = " span" role =" button" class =" @CurrentMonthViewClassName" OnClick =" () => SwitchView(DatePickerViewMode.Month)" >@MonthString </DynamicElement >
41+ <span role =" button" class =" picker-panel-header-label" @onclick =" () => SwitchView(DatePickerViewMode.Year)" >@YearString </span >
42+ <span role =" button" class =" @CurrentMonthViewClassName" @onclick =" () => SwitchView(DatePickerViewMode.Month)" >@MonthString </span >
4343 @if (IsDateTimeMode )
4444 {
4545 <span role =" button" class =" picker-panel-header-label" @onclick =" SwitchTimeView" >@CurrentTime.ToString(TimeFormat) </span >
Original file line number Diff line number Diff line change 6767 <div class =" toolbar" >
6868 @if (ShowDefaultButtons )
6969 {
70- <DynamicElement TagName = " button" type =" button" class =" btn" OnClick =" SelectAll" >@SelectAllText </DynamicElement >
71- <DynamicElement TagName = " button" type =" button" class =" btn" OnClick =" InvertSelect" >@ReverseSelectText </DynamicElement >
72- <DynamicElement TagName = " button" type =" button" class =" btn" OnClick =" Clear" >@ClearText </DynamicElement >
70+ <button type =" button" class =" btn" @onclick =" SelectAll" >@SelectAllText </button >
71+ <button type =" button" class =" btn" @onclick =" InvertSelect" >@ReverseSelectText </button >
72+ <button type =" button" class =" btn" @onclick =" Clear" >@ClearText </button >
7373 }
7474 @ButtonTemplate
7575 </div >
Original file line number Diff line number Diff line change 6060 <div class =" toolbar" >
6161 @if (ShowDefaultButtons )
6262 {
63- <DynamicElement TagName = " button" type =" button" class =" btn" OnClick =" SelectAll" >@SelectAllText </DynamicElement >
64- <DynamicElement TagName = " button" type =" button" class =" btn" OnClick =" InvertSelect" >@ReverseSelectText </DynamicElement >
65- <DynamicElement TagName = " button" type =" button" class =" btn" OnClick =" Clear" >@ClearText </DynamicElement >
63+ <button type =" button" class =" btn" @onclick =" SelectAll" >@SelectAllText </button >
64+ <button type =" button" class =" btn" @onclick =" InvertSelect" >@ReverseSelectText </button >
65+ <button type =" button" class =" btn" @onclick =" Clear" >@ClearText </button >
6666 }
6767 @ButtonTemplate
6868 </div >
Original file line number Diff line number Diff line change 5353 </div >
5454 @if (ShowDeleteButton )
5555 {
56- <DynamicElement TagName = " button" type =" button" class =" btn btn-sm btn-outline-danger"
57- disabled =" @GetDeleteButtonDisabledString(item)" aria-label =" delete"
58- TriggerClick = " @(!IsDisabled) " OnClick = " @(( ) => OnCardFileDelete(item) )" >
56+ <button type =" button" class =" btn btn-sm btn-outline-danger"
57+ disabled =" @GetDeleteButtonDisabledString(item)" aria-label =" delete"
58+ @onclick = " ( ) => OnCardFileDelete(item)" >
5959 <i class =" @RemoveIcon" ></i >
60- </DynamicElement >
60+ </button >
6161 }
6262 </div >
6363 @if (GetShowProgress (item ))
You can’t perform that action at this time.
0 commit comments