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.

Select filter not working properly

See original GitHub issue

Similar issue to #517

I have the following table with a select filter on the currency column: image

When I use an object like this: { 0: 'EUR', 1: 'AUD', 2: 'CAD' } , in the options as in the examples: {0: 'bad', 1: 'good'} the filter does not match any of the rows in the table: image

If I set string values as keys (same as the value), e.g. { 'EUR': 'EUR', 'AUD': 'AUD', 'CAD': 'CAD' }, only then it works properly: image

If it’s not working as it should, maybe the examples/docs should be updated, showing string values as keys in the option object instead of numbers.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Sep 29, 2017

I made the same mistake/overlook on the key types. Thanks for all the posts here. Got my selectFilter working 😃

1reaction
jennykatcommented, May 17, 2017

Yes, that’s exactly the example I saw. You’re right, I didn’t notice that quality was a number… Thank you very much for the quick response! I already made it work making the key the same as the value, as I said before. I thought I should report it, as I thought it was supposed to be functioning with numbers as in the example. Keep up the good work! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Reasons why your Excel filter may not be working
Just make your way down to one of your worksheets, right-click the sheet tab and then select Ungroup Sheets. The Filter button will...
Read more >
Excel filter not working properly [Fixed] - The Windows Club
If the Excel filter is not working properly, follow these suggestions: Check for error; Select entire data; Unhide hidden rows and columns ......
Read more >
7 Reasons☝️ Why Your Excel Filter May Not Be Working
1. Select the cells where you want to find errors. · 2. Navigate to the Home tab. · 3. Choose “Sort & Filter.”...
Read more >
Excel Filter Not Working? Try These Fixes - TechNewsToday
Head over to the Data menu. · Click on the Clear icon right next to the Filter button. Clear Filter · Select the...
Read more >
[9 Fixes] For Filter Not Working In Excel Problem
Reason 1# Excel Filter Not Working With Blank Rows · Reason 2# Make Proper Selection Of The Data · Reason 3# Check The...
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