File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/BootstrapBlazor/Components/Filters Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11@namespace BootstrapBlazor.Components
22
3- <Select Items =" @_items" Color =" @Color.Info" class =" is-condition" Value =" _value " OnValueChanged =" OnValueChanged" ></Select >
3+ <Select Items =" @_items" Color =" @Color.Info" class =" is-condition" Value =" Logic " OnValueChanged =" OnValueChanged" ></Select >
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ public partial class FilterLogicItem
2929 private IStringLocalizer < FilterLogicItem > ? Localizer { get ; set ; }
3030
3131 private readonly List < SelectedItem > _items = [ ] ;
32- private FilterLogic _value ;
3332
3433 /// <summary>
3534 /// <inheritdoc/>
@@ -47,10 +46,10 @@ protected override void OnInitialized()
4746
4847 private async Task OnValueChanged ( FilterLogic val )
4948 {
50- _value = val ;
49+ Logic = val ;
5150 if ( LogicChanged . HasDelegate )
5251 {
53- await LogicChanged . InvokeAsync ( _value ) ;
52+ await LogicChanged . InvokeAsync ( Logic ) ;
5453 }
5554 }
5655}
You can’t perform that action at this time.
0 commit comments