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

Provide a (multi-)selection as an alternative to the filter-input #160

Open
sboekhoff opened this issue Nov 11, 2016 · 1 comment
Open

Comments

@sboekhoff
Copy link

Especially for columns with a limited set of values (e.g. boolean, states, ...) it would be helpful to select one (or several) values from a dropdown menue instead of typing values to the filter-input. (For boolean values even this is not possible at the moment).

In my imagination the filter input (for certain columns) could be replaced by a multiselect (e.g. https://github.com/ehynds/jquery-ui-multiselect-widget):

jquery-ui-multiselect-widget

@jochenberger
Copy link
Collaborator

I don't think we should add a dependency on jQuery. If we can craft something using react-bootstrap (which we depend on already), I'm all for it.
We'll probably have to make the filter component exchangeable on a per-row basis. We could technically render different fields depending on the column key, which is passed into the Filter component, but I guess that will make things pretty complicated.

For boolean values even this is not possible at the moment

Could you please create a separate issue for that?

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

No branches or pull requests

2 participants