ScopeChip
Overview
Renders one list scope as a read-only pill. A scope is a list constraint supplied by a link or by application code that has no editable input, so the label segment only describes it; when the scope is clearable, a trailing segment asks to clear it.
Theme entry: ScopeChip
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| iconOverride | Object | null | A partial icon registry ({ [componentName]: { [iconName]: { component, props } } }) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants. | |
| themeOverride | Object | null | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. | |
| label | string | yes | Readable description of the scope, such as "2 selected records" or a batch name. | |
| clearable | boolean | true | When true, the chip shows a clear control. |
Slots
| Name | Scoped | Description |
|---|---|---|
default | Replaces the label text. |
Events
| Name | Description |
|---|---|
clear | Emitted when the reader activates the clear control. |
Source
client/lib/display/scope/ScopeChip.vue