FilterOldDatasetViewSelector

components/filter/old/DatasetViewSelector.vue

Identical to FilterDatasetViewSelector — kept here for reference since the whole Phase 1 namespace moved to old/ together.

Dataset View:
Scenarios
Disabled — "Not Applicable"
Dataset View:
Not Applicable
With Manage row
Dataset View:
Not Applicable
components/filter/old/DatasetViewSelector.vue

Usage

<FilterOldDatasetViewSelector modelValue = "undefined" :options = "[]" :disabled = "true" :canManage = "false" />

Props

PropTypeDefaultDescription
modelValueStringundefinedSelected option's id. undefined represents "All"/no-context.
optionsArray[]{ id, name }[] — id undefined represents the "All"/no-context option.
disabledBooleantrueShows a "Not Applicable" row instead of the trigger.
canManageBooleanfalseShows the "Manage" row at the bottom of the dropdown.

Events

EventDescription
update:modelValueFired with the newly selected option's id.
manageFired when the "Manage" row is clicked — consumer handles navigation.

Slots

SlotDescription
iconOptional icon shown beside the trigger label and the disabled state.

Related

Qpoint Brand Style Guide