Context
#2709 made a select field/param declared multiple: true render the multi-value chip picker (MultiSelectField) by delegating inside SelectField. That fixed the real bug (multiple values were unstorable in the single-value dropdown).
Known gap: the chip picker does not implement the per-option visibleWhen CEL cascading / dependsOn gating that single SelectField has (ADR-0058). So a multi-select whose options depend on a sibling field or the current user would show the unfiltered option set. Single selects are unaffected.
Why this is icebox (not urgent)
Multi-select combined with per-option cascading is not a combination in use today — and the pre-#2709 behavior was strictly worse (a multi-value field that couldn't hold multiple values at all). This is a completeness follow-up, to be picked up only when a real multi-select-with-dependent-options need appears.
Scope (when actioned)
Acceptance
Refs
Context
#2709 made a
selectfield/param declaredmultiple: truerender the multi-value chip picker (MultiSelectField) by delegating insideSelectField. That fixed the real bug (multiple values were unstorable in the single-value dropdown).Known gap: the chip picker does not implement the per-option
visibleWhenCEL cascading /dependsOngating that singleSelectFieldhas (ADR-0058). So a multi-select whose options depend on a sibling field or the current user would show the unfiltered option set. Single selects are unaffected.Why this is icebox (not urgent)
Multi-select combined with per-option cascading is not a combination in use today — and the pre-#2709 behavior was strictly worse (a multi-value field that couldn't hold multiple values at all). This is a completeness follow-up, to be picked up only when a real multi-select-with-dependent-options need appears.
Scope (when actioned)
resolveVisibleOptions/isOptionGroupGated/resolveDependsOnFieldsfrom@object-ui/core) betweenSelectFieldandMultiSelectField(extract a small hook/util rather than duplicating).MultiSelectFieldappliesvisibleWhenfiltering +dependsOngating (empty/gated hint) like single select.SelectField.cascade.test.tsxfor the multi case.Acceptance
multipleselect withdependsOn+ per-optionvisibleWhennarrows its offered chips identically to the single select, and clears now-invalid selections.Refs
SelectField.cascade.test.tsx