<Back to test list

Filter Dropdown

Each control starts in a distinct valid state. Change or clear values and check the live output below to exercise the conversion paths.

All core field types

Covers plain and labelled string options, both range modes, wildcard and multi-currency values, default and custom booleans, and a single date.

Department (plain strings)Engineering or People
Large string list (50 options)Option 001, Option 025, or Option 050
Source (ID/name pairs)LinkedIn
Name (plain strings)Second
ATS (ID/name pairs)Greenhouse
Score35 - 80
Coverage (full range)Fully 10 - 90
Coverage (partial range)Partly 20 - 75
Salary (wildcard currency)£45,000 - £90,000
Bonus (full, multiple currencies)Fully £5,000 - £20,000, $7,500 - $25,000
Bonus (partial, wildcard currency)Partly £0 - £15,000
Remote (default labels, false)No
Approved (custom labels, true)Approved
Snapshot date15th June 2025

Optional string variants

One control for every branch of OptionFilter, plus labelled ID/name options.

Large string list

Exercises scrolling and selection with 50 options.

Date filter variants

Covers an unrestricted picker, every fixed and rolling value shape, a single-mode prop, and the combined rolling-mode array prop.

Live values

{
    "departments": [
        "Engineering",
        "People"
    ],
    "largeStringList": [
        "Option 001",
        "Option 025",
        "Option 050"
    ],
    "sources": [
        "linkedin"
    ],
    "name": "Second",
    "ats": "greenhouse",
    "score": {
        "lowerInclusive": 35,
        "upperInclusive": 80
    },
    "fullCoverage": {
        "mode": "Full",
        "range": {
            "lowerInclusive": 10,
            "upperInclusive": 90
        }
    },
    "partialCoverage": {
        "mode": "Partial",
        "range": {
            "lowerInclusive": 20,
            "upperInclusive": 75
        }
    },
    "salary": {
        "*": {
            "lowerInclusive": 450000000,
            "upperInclusive": 900000000
        }
    },
    "fullBonus": {
        "mode": "Full",
        "currencyRanges": {
            "GBP": {
                "lowerInclusive": 50000000,
                "upperInclusive": 200000000
            },
            "USD": {
                "lowerInclusive": 75000000,
                "upperInclusive": 250000000
            }
        }
    },
    "partialBonus": {
        "mode": "Partial",
        "currencyRanges": {
            "*": {
                "lowerInclusive": 0,
                "upperInclusive": 150000000
            }
        }
    },
    "remote": false,
    "approved": true,
    "snapshotDate": {
        "day": 15,
        "month": "June",
        "year": 2025
    },
    "ratingExists": "Exists",
    "ratingMissing": "NotExists",
    "ratingMatches": {
        "ExistsAndMatches": [
            "Meets Expectations"
        ]
    },
    "ratingMissingOrMatches": {
        "NotExistsOrMatches": [
            "Needs Support"
        ]
    },
    "optionalSource": {
        "NotExistsOrMatches": [
            "linkedin"
        ]
    },
    "betweenDate": {
        "FixedRange": {
            "startInclusive": {
                "day": 1,
                "month": "January",
                "year": 2025
            },
            "endInclusive": {
                "day": 31,
                "month": "March",
                "year": 2025
            }
        }
    },
    "beforeDate": {
        "FixedRange": {
            "endInclusive": {
                "day": 30,
                "month": "June",
                "year": 2025
            }
        }
    },
    "afterDate": {
        "FixedRange": {
            "startInclusive": {
                "day": 1,
                "month": "July",
                "year": 2025
            }
        }
    },
    "relativeMonths": {
        "RollingPeriod": {
            "Months": 6
        }
    },
    "relativeDays": {
        "RollingPeriod": {
            "Days": 30
        }
    },
    "relativeChoice": {
        "RollingPeriod": {
            "Months": 12
        }
    }
}