question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Data-filter-default is always reset to the default value after selection

See original GitHub issue

Bootstraptable version(s) affected

1.20.0

Description

When the data comes from server side and using plugin bootstrap-table-filter-control with data-filter-control="select", the data-filter-default="Item 0" is always reset to the default value after any options selection.

screen-recording-2022-04-25-08 3A26

Example(s)

https://live.bootstrap-table.com/code/sdespont/11312

Possible Solutions

No response

Additional Context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
UtechtDustincommented, Jul 30, 2022

Seems fixed by #6203, if someone think this bug is not fixed in the develop branch please provide us some information and we will reopen the issue.

0reactions
sdespontcommented, Aug 9, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Reset select value to default - javascript - Stack Overflow
If using Spring forms, you may need to reset the selected to your options label. You would set your form:select id value to...
Read more >
Solved: Dropdown default value - set to blank value? - Page 2
*The "Default" MUST be a value available within the dropdown source, otherwise it will never reset back to it. The first time a...
Read more >
Love the reset to default, don't like persistent filters
Is there a way to always have a report set to default, no persistent filtering, but keep the reset to default quick button...
Read more >
Set an Overridable Dynamic Default Selection in a Filter
Cause. The static default is the value set in the filter, when the workbook is saved or published, or when the user creates...
Read more >
PowerApps Dependent Dropdown with Default Value and Reset
This video will discuss the Dependent dropdown with the default value and Reset.You may see a lot of videos and blogs for dependent...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found