File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
src/BootstrapBlazor/Components/AutoComplete Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 1212 data-bb-auto-dropdown-focus =" @ShowDropdownListOnFocusString" data-bb-debounce =" @DurationString"
1313 data-bb-skip-esc =" @SkipEscString" data-bb-skip-enter =" @SkipEnterString" data-bb-blur =" @TriggerBlurString"
1414 data-bb-scroll-behavior =" @ScrollIntoViewBehaviorString" data-bb-trigger-delete =" true"
15- @bind =" @CurrentValueAsString"
15+ @bind =" @CurrentValueAsString" @onblur = " @OnBlur "
1616 placeholder =" @PlaceHolder" disabled =" @Disabled" @ref =" FocusElement" />
1717 <span class =" form-select-append" ><i class =" @Icon" ></i ></span >
1818 <span class =" form-select-append ac-loading" ><i class =" @LoadingIcon" ></i ></span >
Original file line number Diff line number Diff line change @@ -158,17 +158,6 @@ protected override void OnParametersSet()
158158 Offset ??= "[0, 6]" ;
159159 }
160160
161- /// <summary>
162- /// 触发 OnBlur 回调方法 由 Javascript 触发
163- /// </summary>
164- [ JSInvokable ]
165- public async Task TriggerBlur ( )
166- {
167- if ( OnBlurAsync != null )
168- {
169- await OnBlurAsync ( Value ) ;
170- }
171- }
172161 /// <summary>
173162 /// <inheritdoc/>
174163 /// </summary>
You can’t perform that action at this time.
0 commit comments