Open
Description
Bug description
When pasting a comma-separated list of values into a filter, the entire selection fails if any value in the list is outside the first 1000 entries of the dataset, when Dynamically search all filter values and Can select multiple values is enabled.
Key Observations:
-
✅ Works: Pasting a list where all values are within the first 1000 entries.
-
❌ Fails: Pasting a list where at least one value is outside the first 1000 entries.
-
No error messages are shown, and the filter ignores the entire input.
Affected Feature: Dashboard Filters (Multi-Select + Dynamic Search).
Steps to Reproduce
- Configure a filter with:
- Can select multiple values = True
- Dynamically search all filter values = True.
- Identify values where:
- Value A: Exists within the first 1000 entries.
- Value B: Exists in the dataset but outside the first 1000 entries.
- Copy a comma-separated list containing both values.
- Paste the list into the filter input field.
Actual Result:
-
No values are selected. The filter behaves as if the input is invalid.
-
Values outside the first 1000 are ignored, and even valid entries are discarded.
Expected Result:
-
Valid values should be selected immediately.
-
Values outside the first 1000 should trigger a dynamic search and be added to the selection once confirmed.
Screenshots/recordings
No response
Superset version
4.1.1
Python version
3.10
Node version
16
Browser
Chrome
Additional context
No response
Checklist
- I have searched Superset docs and Slack and didn't find a solution to my problem.
- I have searched the GitHub issue tracker and didn't find a similar bug report.
- I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.