File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
BootstrapBlazor/wwwroot/scss/theme Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 383383<DemoBlock Title =" @Localizer[" SelectsPopoverTitle " ]"
384384 Introduction =" @Localizer[" SelectsPopoverIntro " ]"
385385 Name =" Popover" >
386- <div class =" row" >
387- <div class =" col-12 col-sm-6 overflow-hidden" >
388- <Select TValue =" string" Items =" Items" IsPopover =" true" ShowSearch =" true" />
386+ <div class =" row g-3 form-inline" >
387+ <div class =" col-12" >
388+ <Switch @bind-Value =" _showPopoverSearch" ShowLabel =" true" DisplayText =" ShowSearch" ></Switch >
389+ </div >
390+ <div class =" col-12" >
391+ <Select TValue =" string" Items =" Items" IsPopover =" true" ShowSearch =" _showPopoverSearch" />
389392 </div >
390393 </div >
391394</DemoBlock >
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ public sealed partial class Selects
4343
4444 private bool _showSearch ;
4545
46+ private bool _showPopoverSearch = true ;
47+
4648 private bool _isShowSearchClearable ;
4749
4850 private bool _isClearable ;
Original file line number Diff line number Diff line change 6969 "ContextMenuOptions" : {
7070 "OnTouchDelay" : 600
7171 }
72- },
73- "SupportedLanguages" : [ " zh-CN" , " ru-RU" ]
72+ }
7473}
Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ $bb-select-search-border-color: var(--bs-border-color);
512512$bb-select-search-padding-right : 30px ;
513513$bb-select-search-icon-color : var (--bb-select-search-border-color );
514514$bb-select-search-icon-right : 20px ;
515- $bb-select-search-icon-top : 15 px ;
515+ $bb-select-search-icon-top : 17 px ;
516516$bb-select-search-height : 60px ;
517517$bb-select-append-width : 30px ;
518518$bb-select-append-color : #c0c4cc ;
You can’t perform that action at this time.
0 commit comments