File tree Expand file tree Collapse file tree 4 files changed +5
-15
lines changed
src/BootstrapBlazor/Components Expand file tree Collapse file tree 4 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -343,11 +343,6 @@ private async Task OnClearValue()
343343 SelectedItems . Clear ( ) ;
344344 }
345345
346- /// <summary>
347- /// Clears the search text.
348- /// </summary>
349- public void ClearSearchText ( ) => SearchText = null ;
350-
351346 /// <summary>
352347 /// FormatValueAsString 方法
353348 /// </summary>
Original file line number Diff line number Diff line change @@ -470,11 +470,6 @@ private async Task SelectedItemChanged(SelectedItem item)
470470 /// </summary>
471471 public void Add ( SelectedItem item ) => _children . Add ( item ) ;
472472
473- /// <summary>
474- /// Clears the search text.
475- /// </summary>
476- public void ClearSearchText ( ) => SearchText = null ;
477-
478473 private async Task OnClearValue ( )
479474 {
480475 if ( ShowSearch )
Original file line number Diff line number Diff line change @@ -212,4 +212,9 @@ protected override void OnParametersSet()
212212 /// </summary>
213213 /// <returns></returns>
214214 protected bool GetClearable ( ) => IsClearable && ! IsDisabled && IsNullable ( ) ;
215+
216+ /// <summary>
217+ /// Clears the search text.
218+ /// </summary>
219+ public void ClearSearchText ( ) => SearchText = null ;
215220}
Original file line number Diff line number Diff line change @@ -449,11 +449,6 @@ private async Task ValueTypeChanged(SelectedItem<TValue> item)
449449 /// <param name="item"></param>
450450 public void Add ( SelectedItem < TValue > item ) => _children . Add ( item ) ;
451451
452- /// <summary>
453- /// 清空搜索栏文本内容
454- /// </summary>
455- public void ClearSearchText ( ) => SearchText = null ;
456-
457452 private async Task OnClearValue ( )
458453 {
459454 if ( ShowSearch )
You can’t perform that action at this time.
0 commit comments