Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make falsy filter options and legend values apparent #271

Open
wants to merge 8 commits into
base: dev-v1.11.7
Choose a base branch
from

Conversation

samussiah
Copy link
Contributor

Issues

Closes #249

@samussiah samussiah added this to the v1.11.7 milestone Dec 18, 2019
@samussiah samussiah changed the base branch from master to dev-v1.11.7 December 18, 2019 03:23
@@ -80,7 +80,7 @@ export default function transformData(raw, mark) {
? d
: e.val instanceof Array
? e.val.indexOf(d[e.col]) > -1
: d[e.col] === e.val;
: d[e.col] + '' === e.val.toString() + '';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samussiah why is this explicitly casted here but not elsewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Falsey filter values are removed from the dropdown.
2 participants