Skip to content

BTable: Filtered event not triggered for default filter #2764

Open
@kevinkosterr

Description

@kevinkosterr

Describe the bug

Issue

The @filtered event is not triggered when an initial filter is set even though the filter is applied.

Usecase

I want to be able to display the total amount of current rows inside the table. So, the total amount of rows when no filter has been applied, and when a filter has been applied. AFAIK: this is currently only possible for the initial data and when a filter has been applied after the component has already mounted.

Reproduction

https://stackblitz.com/edit/github-qwhyweo3?file=src%2Fcomponents%2FComp.vue

Used Package Manager

yarn

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions