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

Custom values in Dropdown List dashboard filter option is being used by Search List option #42364

Open
maxzheng opened this issue May 7, 2024 · 0 comments
Labels
Priority:P2 Average run of the mill bug Querying/Parameters & Variables Filter widgets, field filters, variables etc. Type:Bug Product defects

Comments

@maxzheng
Copy link
Contributor

maxzheng commented May 7, 2024

Describe the bug

In a dashboard filter, if you edit a Dropdown List to use custom values, and then switch to use the Search list, the search list will use the custom values instead of the values linked to the field filter. As Dropdown and Search lists are separate options, they should have nothing to do with each other.

To Reproduce

  1. Add a field filter in a dashboard and map to a field
  2. Select Dropdown list option and set custom values
  3. Switch/select Search list
  4. Save dashboard
  5. Try searching in the field filter and it will only show the custom values instead of values linked to the table field.

Expected behavior

Search list should always use values linked to the field -- and not custom values from Dropdown option as they are different options.

Logs

No response

Information about your Metabase installation

Master on Postgres

Severity

Medium as fix isn't obvious. Confusing when switching drop dropdown with custom to search list and most users won't be able to figure out what is going on / think search list is broken

Additional context

No response

@maxzheng maxzheng added Type:Bug Product defects Priority:P2 Average run of the mill bug Querying/Parameters & Variables Filter widgets, field filters, variables etc. labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:P2 Average run of the mill bug Querying/Parameters & Variables Filter widgets, field filters, variables etc. Type:Bug Product defects
Projects
None yet
Development

No branches or pull requests

1 participant