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

Change Filter component options #2946

Open
bullypb23 opened this issue Feb 24, 2022 · 3 comments
Open

Change Filter component options #2946

bullypb23 opened this issue Feb 24, 2022 · 3 comments

Comments

@bullypb23
Copy link

Hi,

Is it possible to change the Filter component's available options? We want to use @looker/components library but we don't need all available options in the component.
Screenshot 2022-02-24 at 14 01 48

@bullypb23 bullypb23 changed the title Change Filter options Change Filter component options Feb 24, 2022
@dbchristopher
Copy link
Contributor

Hi @bullypb23,

It isn't possible at the moment to customize or specify which filter matching logic appears in that list. The options are derived from the type of value you're filtering on. E.G. Numeric values get one set, string values get another, etc.

It looks like your screenshot is in regards to string filters. Would you mind elaborating a little more on your specific use case, and which options you were hoping to hide? That may help us with future planning to see if we could support that as a feature request.

Thank you!
-Daniel

@bullypb23
Copy link
Author

Hi @dbchristopher,

Thank you for your response. We are using mostly string filters and we only need is, is not, contains, and doesn't contain options available for our use case. We are looker filter components but not to filter data from looker but other data source so we have only those options available for filtering.

Best regards,
Vladimir.

@guyellis
Copy link
Contributor

Our internal ticket number is 246808753.

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

4 participants
@dbchristopher @guyellis @bullypb23 and others