File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/BootstrapBlazor/Components/Filters Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 44@if (IsHeaderRow )
55{
66 <div class =" @FilterRowClassString" >
7- <BootstrapInput @bind- Value =" @_value1" ShowLabel =" false" SkipValidate =" true" ></BootstrapInput >
7+ <BootstrapInput Value =" @_value1" OnValueChanged = " OnValueChanged " ShowLabel =" false" SkipValidate =" true" ></BootstrapInput >
88 <FilterButton Items =" Items" @bind-Value =" _action1" OnSelectedItemChanged =" _ => OnFilterAsync()" OnClearFilter =" OnClearFilter" />
99 </div >
1010}
Original file line number Diff line number Diff line change @@ -128,4 +128,10 @@ public override async Task SetFilterConditionsAsync(FilterKeyValueAction filter)
128128 }
129129 await base . SetFilterConditionsAsync ( filter ) ;
130130 }
131+
132+ private async Task OnValueChanged ( string ? val )
133+ {
134+ _value1 = val ;
135+ await OnFilterAsync ( ) ;
136+ }
131137}
You can’t perform that action at this time.
0 commit comments