File tree Expand file tree Collapse file tree 4 files changed +176
-164
lines changed
CodeBeam.MudBlazor.Extensions/Components/ComboBox
ComponentViewer.Docs/Pages/Examples Expand file tree Collapse file tree 4 files changed +176
-164
lines changed Original file line number Diff line number Diff line change 1818 Value =" @_searchString" ValueChanged =" @HandleInternalValueChanged"
1919 DisableUnderLine =" @DisableUnderLine"
2020 Disabled =" @Disabled" ReadOnly =" @ReadOnly" Error =" @Error" ErrorId =" @ErrorId"
21- Clearable =" @Clearable" ForceClearable =" @(Clearable && HasValue(Value))" OnClearButtonClick =" @ ClearButtonClickHandlerAsync"
21+ Clearable =" @Clearable" ForceClearable =" @(Clearable && HasValue(Value))" OnClearButtonClick =" (async (e) => await ClearButtonClickHandlerAsync(e)) "
2222 @attributes =" UserAttributes" OnBlur =" @HandleOnBlur" ForceShrink =" @(HasValue(Value) || _isOpen || ForceShrink)" >
2323
2424 <AdornmentEnd >
131131 @if (SelectAll )
132132 {
133133 <div class =" @($" mud-combobox-item mud-combobox-item-clickable mud-combobox-item-{Dense.ToDescriptionString()} mud-ripple d-flex " )" @onclick =" SelectAllItems" @onclick:stopPropagation =" true" >
134- <MudCheckBox Class =" mx-4" @bind-Checked =" @ _allSelected" Color =" @Color" @onclick =" SelectAllItems" Dense =" true" />
134+ <MudCheckBox Class =" mx-4" @bind-Checked =" _allSelected" Color =" @Color" @onclick =" SelectAllItems" Dense =" true" />
135135 <MudText Typo =" GetTypo()" >@SelectAllText </MudText >
136136 </div >
137137 <MudDivider />
157157
158158</CascadingValue >
159159<!-- mousedown instead of click needed to close the menu before OnLostFocus runs -->
160- <MudOverlay Visible =" _isOpen" @onmousedown =" @CloseMenu" LockScroll =" @LockScroll" />
160+ <MudOverlay Visible =" _isOpen" @onmousedown =" @(() => CloseMenu())" LockScroll =" @LockScroll" />
161+
162+
You can’t perform that action at this time.
0 commit comments