Skip to content

Export with forceExport: true Ignores Current Filter and Uses filterDefault When Empty Filter is Selected #7762

Open
@balansse

Description

@balansse

Bootstraptable version(s) affected

1.24.1

Description

When using the bootstrap-table plugin with the Filter Control extension and the Export extension, exporting data from a table with a hidden column marked as forceExport: true does not respect the current filter state if the filterDefault property is set and the user selects an empty filter. Instead, the exported data is always filtered by the filterDefault value, making it impossible to export unfiltered records as intended.

Example(s)

https://live.bootstrap-table.com/code/balansse/18723

Select the blank filter value and try to export.

Possible Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssues which are marked as Bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions