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

Update boolean input filter UI #328

Merged
merged 4 commits into from
Apr 28, 2022
Merged

Conversation

cpjolicoeur
Copy link
Member

@cpjolicoeur cpjolicoeur commented Apr 28, 2022

Use a select box to allow for 3-states of boolean filter (boolean true, boolean false, boolean "ignore") for boolean inputs vs the old checkbox form.

[ref #324]

@cpjolicoeur cpjolicoeur force-pushed the cpj/boolean_input_update branch 2 times, most recently from 764a612 to 2b48d4f Compare April 28, 2022 19:09
If a boolean field is meant to be exluded from the filter
params (meaning don't filter on a boolean field vs. filter
on an explicit true/false value in the boolean field), we
need to first strip out that value from the incoming params
before passing along to Filtrex.
Use select input for boolean fields instead of checkbox
@cpjolicoeur cpjolicoeur force-pushed the cpj/boolean_input_update branch from 2b48d4f to f34d95d Compare April 28, 2022 19:12
@cpjolicoeur cpjolicoeur merged commit 6ce24a1 into master Apr 28, 2022
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.

1 participant