mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 12:07:44 +08:00
fix(module: table): fix filter not applied (#1594)
This commit is contained in:
parent
840184fd51
commit
0577db8a5c
@ -182,7 +182,7 @@ readonly RenderFragment<Column<TData>> FilterToolTipSorter = col =>
|
||||
<Unbound>
|
||||
<span @ref="context.Current" class="ant-table-filter-trigger-container @(col._filterOpened?" ant-table-filter-trigger-container-open":"")">
|
||||
<span role="button" tabindex="-1" class="ant-dropdown-trigger ant-table-filter-trigger @(col._hasFilterSelected?"active":"")"
|
||||
@attributes="@(new Dictionary<string, object>() { ["onclick"] = _callbackFactory.Create<MouseEventArgs>(col, () => col._filterOpened = !col._filterOpened )})">
|
||||
@attributes="@(new Dictionary<string, object>() { ["onclick"] = _callbackFactory.Create<MouseEventArgs>(col, () => { if (col._filterOpened) col.FilterConfirm(); else col._filterOpened = true; }) })">
|
||||
<Icon Type="filter" Theme="fill" />
|
||||
</span>
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user