Skip to content

Filter control clears if table data is refreshed when height is defined #7820

@robertfshort

Description

@robertfshort

Bootstraptable version(s) affected

1.24.1

Description

When using the filter control and a data height is set, if the refresh button is used, it clears the filter. In example, search for 'item 1' and then press the refresh button. The filter will empty after the refresh. If the data height is removed then on refresh the page retains the filter control entries

Example(s)

https://live.bootstrap-table.com/code/robertfshort/18793

Possible Solutions

No response

Additional Context

plausibly, could be related to the control filter losing focus when things are typed into it. IE, in my example, if you search for 'item' and then stop typing it moves the cursor back to the beginning of the word 'item'

Also plausibly related to #6978

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