// Generated by scripts/generate-showcase.mjs. Do not edit directly.
page AdvancedSelectDetail {
layout = "showcase"
state playground_size = ctx.url.searchParams.get("pg_size") ?? "default"
state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary"
state playground_label = ctx.url.searchParams.get("pg_label") ?? "Default advanced select"
state playground_name = ctx.url.searchParams.get("pg_name") ?? "advanced-select-1"
state playground_value = ctx.url.searchParams.get("pg_value") ?? "design"
state playground_values = JSON.parse(ctx.url.searchParams.get("pg_values") ?? "[]")
state playground_options = JSON.parse(ctx.url.searchParams.get("pg_options") ?? "[{\"value\":\"design\",\"label\":\"Design\",\"description\":\"Product and visual design\",\"icon\":\"icon-[lucide--palette]\",\"color\":\"#8b5cf6\",\"avatar\":\"/showcase-images/avatar-design.svg\"},{\"value\":\"engineering\",\"label\":\"Engineering\",\"description\":\"Platform and application engineering\",\"icon\":\"icon-[lucide--code-2]\",\"color\":\"#0ea5e9\",\"avatar\":\"/showcase-images/avatar-engineering.svg\"},{\"value\":\"growth\",\"label\":\"Growth\",\"description\":\"Marketing and customer growth\",\"icon\":\"icon-[lucide--trending-up]\",\"color\":\"#10b981\",\"avatar\":\"/showcase-images/avatar-growth.svg\"},{\"value\":\"support\",\"label\":\"Support\",\"description\":\"Customer operations\",\"disabled\":false}]")
state playground_groups = JSON.parse(ctx.url.searchParams.get("pg_groups") ?? "[]")
state playground_placeholder = ctx.url.searchParams.get("pg_placeholder") ?? "Choose a team"
state playground_placeholderIcon = ctx.url.searchParams.get("pg_placeholderIcon") ?? ""
state playground_searchPlaceholder = ctx.url.searchParams.get("pg_searchPlaceholder") ?? "Search options…"
state playground_multiple = (ctx.url.searchParams.get("pg_multiple") ?? "false") === "true"
state playground_searchable = (ctx.url.searchParams.get("pg_searchable") ?? "true") === "true"
state playground_defaultOpen = (ctx.url.searchParams.get("pg_defaultOpen") ?? "false") === "true"
state playground_clearable = (ctx.url.searchParams.get("pg_clearable") ?? "true") === "true"
state playground_allowEmpty = (ctx.url.searchParams.get("pg_allowEmpty") ?? "false") === "true"
state playground_tags = (ctx.url.searchParams.get("pg_tags") ?? "false") === "true"
state playground_disabled = (ctx.url.searchParams.get("pg_disabled") ?? "false") === "true"
state playground_required = (ctx.url.searchParams.get("pg_required") ?? "false") === "true"
state playground_invalid = (ctx.url.searchParams.get("pg_invalid") ?? "false") === "true"
state playground_validationMessage = ctx.url.searchParams.get("pg_validationMessage") ?? ""
state playground_helpText = ctx.url.searchParams.get("pg_helpText") ?? ""
state playground_loading = (ctx.url.searchParams.get("pg_loading") ?? "false") === "true"
state playground_loadingLabel = ctx.url.searchParams.get("pg_loadingLabel") ?? "Loading options…"
state playground_emptyLabel = ctx.url.searchParams.get("pg_emptyLabel") ?? "No options found"
state playground_selectedOptionsLabel = ctx.url.searchParams.get("pg_selectedOptionsLabel") ?? "Selected options"
state playground_clearLabel = ctx.url.searchParams.get("pg_clearLabel") ?? "Clear selection"
state playground_createLabel = ctx.url.searchParams.get("pg_createLabel") ?? "Create"
state playground_loadMoreLabel = ctx.url.searchParams.get("pg_loadMoreLabel") ?? "Load more"
state playground_searchMode = ctx.url.searchParams.get("pg_searchMode") ?? "contains"
state playground_searchFields = ctx.url.searchParams.get("pg_searchFields") ?? "label,description"
state playground_minSearchLength = Number(ctx.url.searchParams.get("pg_minSearchLength") ?? "0")
state playground_searchResultLimit = Number(ctx.url.searchParams.get("pg_searchResultLimit") ?? "0")
state playground_maxSelections = Number(ctx.url.searchParams.get("pg_maxSelections") ?? "0")
state playground_showCounter = (ctx.url.searchParams.get("pg_showCounter") ?? "false") === "true"
state playground_counterTemplate = ctx.url.searchParams.get("pg_counterTemplate") ?? "{selected} selected"
state playground_optionTemplate = ctx.url.searchParams.get("pg_optionTemplate") ?? "default"
state playground_selectedTemplate = ctx.url.searchParams.get("pg_selectedTemplate") ?? "default"
state playground_closeOnSelect = (ctx.url.searchParams.get("pg_closeOnSelect") ?? "true") === "true"
state playground_scrollToSelected = (ctx.url.searchParams.get("pg_scrollToSelected") ?? "true") === "true"
state playground_fixed = (ctx.url.searchParams.get("pg_fixed") ?? "false") === "true"
state playground_placement = ctx.url.searchParams.get("pg_placement") ?? "bottom"
state playground_remote = (ctx.url.searchParams.get("pg_remote") ?? "false") === "true"
state playground_remoteUrl = ctx.url.searchParams.get("pg_remoteUrl") ?? ""
state playground_remoteQueryParam = ctx.url.searchParams.get("pg_remoteQueryParam") ?? "q"
state playground_remoteDebounce = Number(ctx.url.searchParams.get("pg_remoteDebounce") ?? "250")
state playground_remoteAutoLoad = (ctx.url.searchParams.get("pg_remoteAutoLoad") ?? "true") === "true"
state playground_infinite = (ctx.url.searchParams.get("pg_infinite") ?? "false") === "true"
state playground_hasMore = (ctx.url.searchParams.get("pg_hasMore") ?? "false") === "true"
state playground_page = Number(ctx.url.searchParams.get("pg_page") ?? "1")
state playground_class = ctx.url.searchParams.get("pg_class") ?? ""
seo {
title = "Advanced Select"
description = "Theme-aware, responsive advanced select component."
}
view {
Components / Advanced Forms / Advanced Select
Interactive playground Configure Advanced Select Change any prop and inspect the server-rendered component immediately.
Live preview
<AdvancedSelect
label="Default advanced select"
name="advanced-select-1"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
/>
Event output Interact with the preview to inspect the typed payload.
Live examples Designed for real product surfaces Compare configurations and resize the browser to check responsive behavior.
<AdvancedSelect
label="Default advanced select"
name="advanced-select-1"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
/>
<AdvancedSelect
label="Grouped options"
name="advanced-select-2"
value="design"
values='[]'
options='[]'
groups='[
{
"label": "Product",
"options": [
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
}
]
} ,
{
"label": "Business",
"options": [
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]
}
]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Fixed-position dropdown"
name="advanced-select-3"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
fixed="true"
/>
<AdvancedSelect
label="Placeholder with icon"
name="advanced-select-4"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a workspace"
placeholderIcon="icon-[lucide--building-2]"
searchable="false"
allowEmpty="false"
optionTemplate="icon"
/>
<AdvancedSelect
label="Allow empty selection"
name="advanced-select-5"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
/>
<AdvancedSelect
label="Multiple selection"
name="advanced-select-6"
values='[
"design",
"engineering"
]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
multiple="true"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Multiple selection with optgroups"
name="advanced-select-7"
values='[
"design",
"engineering"
]'
options='[]'
groups='[
{
"label": "Product",
"options": [
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
}
]
} ,
{
"label": "Business",
"options": [
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]
}
]'
placeholder="Choose a team"
multiple="true"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Multiple selection with option templates"
name="advanced-select-8"
values='[
"design",
"engineering"
]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
multiple="true"
searchable="false"
allowEmpty="false"
optionTemplate="icon"
/>
<AdvancedSelect
label="Multiple selection with counter"
name="advanced-select-9"
values='[
"design",
"engineering"
]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
multiple="true"
searchable="false"
allowEmpty="false"
showCounter="true"
/>
<AdvancedSelect
label="Multiple selection with conditional counter"
name="advanced-select-10"
values='[
"design",
"engineering"
]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
multiple="true"
searchable="false"
allowEmpty="false"
maxSelections="3"
showCounter="true"
/>
<AdvancedSelect
label="Counter with option templates"
name="advanced-select-11"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
showCounter="true"
optionTemplate="icon"
/>
<AdvancedSelect
label="Searchable dropdown"
name="advanced-select-12"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
/>
<AdvancedSelect
label="Minimum search length"
name="advanced-select-13"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
minSearchLength="3"
/>
<AdvancedSelect
label="Search result limit"
name="advanced-select-14"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
searchResultLimit="3"
/>
<AdvancedSelect
label="Scroll to selected option"
name="advanced-select-15"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Search match mode"
name="advanced-select-16"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
searchMode="startsWith"
/>
<AdvancedSelect
label="Search labels and descriptions"
name="advanced-select-17"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
/>
<AdvancedSelect
label="Tag-style selection"
name="advanced-select-18"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
tags="true"
/>
<AdvancedSelect
label="Disabled tag selection"
name="advanced-select-19"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
tags="true"
disabled="true"
/>
<AdvancedSelect
label="Option template with icons"
name="advanced-select-20"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
optionTemplate="icon"
/>
<AdvancedSelect
label="Option template with avatars"
name="advanced-select-21"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
optionTemplate="avatar"
/>
<AdvancedSelect
label="Option template with color indicators"
name="advanced-select-22"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
optionTemplate="color"
/>
<AdvancedSelect
size="lg"
label="Advanced select sizes"
name="advanced-select-23"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Disabled advanced select"
name="advanced-select-24"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
disabled="true"
/>
<AdvancedSelect
label="Inside a modal"
name="advanced-select-25"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Validation states"
name="advanced-select-26"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
required="true"
/>
<AdvancedSelect
label="Dynamic validation styling"
name="advanced-select-27"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
required="true"
/>
<AdvancedSelect
label="Add or remove options"
name="advanced-select-28"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Add or remove options in multiple mode"
name="advanced-select-29"
values='[
"design",
"engineering"
]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
multiple="true"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Set a single value programmatically"
name="advanced-select-30"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Set multiple values programmatically"
name="advanced-select-31"
values='[
"design",
"engineering"
]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
multiple="true"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Remote data source"
name="advanced-select-32"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
minSearchLength="2"
remote="true"
remoteUrl="/api/teams"
/>
<AdvancedSelect
label="Remote data source (multiple)"
name="advanced-select-33"
values='[
"design",
"engineering"
]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
multiple="true"
allowEmpty="false"
minSearchLength="2"
remote="true"
remoteUrl="/api/teams"
/>
<AdvancedSelect
label="Remote data tags"
name="advanced-select-34"
values='[
"design",
"engineering"
]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
multiple="true"
allowEmpty="false"
tags="true"
minSearchLength="2"
remote="true"
remoteUrl="/api/teams"
/>
<AdvancedSelect
label="Option templates with remote data"
name="advanced-select-35"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
minSearchLength="2"
optionTemplate="icon"
remote="true"
remoteUrl="/api/teams"
/>
<AdvancedSelect
label="Conditional counter with remote data"
name="advanced-select-36"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
minSearchLength="2"
maxSelections="3"
showCounter="true"
remote="true"
remoteUrl="/api/teams"
/>
<AdvancedSelect
label="Avatar template with remote data"
name="advanced-select-37"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
minSearchLength="2"
optionTemplate="avatar"
remote="true"
remoteUrl="/api/teams"
/>
<AdvancedSelect
label="Preselected values"
name="advanced-select-38"
value="engineering"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
/>
<AdvancedSelect
label="Infinite scroll"
name="advanced-select-39"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
allowEmpty="false"
remote="true"
remoteUrl="/api/teams"
infinite="true"
hasMore="true"
/>
<AdvancedSelect
label="Inside overflow-hidden containers"
name="advanced-select-40"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
fixed="true"
/>
<AdvancedSelect
label="Destroy and reinitialize"
name="advanced-select-41"
value="design"
values='[]'
options='[
{
"value": "design",
"label": "Design",
"description": "Product and visual design",
"icon": "icon-[lucide--palette]",
"color": "#8b5cf6",
"avatar": "/showcase-images/avatar-design.svg"
} ,
{
"value": "engineering",
"label": "Engineering",
"description": "Platform and application engineering",
"icon": "icon-[lucide--code-2]",
"color": "#0ea5e9",
"avatar": "/showcase-images/avatar-engineering.svg"
} ,
{
"value": "growth",
"label": "Growth",
"description": "Marketing and customer growth",
"icon": "icon-[lucide--trending-up]",
"color": "#10b981",
"avatar": "/showcase-images/avatar-growth.svg"
} ,
{
"value": "support",
"label": "Support",
"description": "Customer operations",
"disabled": false
}
]'
groups='[]'
placeholder="Choose a team"
searchable="false"
allowEmpty="false"
/>
Component outputs Receive every typed component output Use declarative output handlers in .wrn files or register a direct output handler from JavaScript. The canonical API exposes payload and does not require event.detail.
@searchFires when the current search query changes.
@selectFires when an item, option, card, or result is selected.
@changeFires when the component's committed value or selection changes.
@clearFires after the current value or selection is cleared.
@openFires after the component opens.
@closeFires after the component closes.
@loadFires after remote or deferred content loads successfully.
@errorFires when the component cannot complete an operation.
<AdvancedSelect
@search='console.log(payload)'
@select='console.log(payload)'
@change='console.log(payload)'
@clear='console.log(payload)'
@open='console.log(payload)'
@close='console.log(payload)'
@load='console.log(payload)'
@error='console.log(payload)'
/> Direct output handlers.js import { registerOutputHandler } from "@wrnexus/csr/outputs"
const component = document.querySelector("[data-ui-component=\"AdvancedSelect\"], [data-component=\"AdvancedSelect\"]")
if (component) registerOutputHandler(component, "search", (payload) => {
console.log("search", payload)
} )
if (component) registerOutputHandler(component, "select", (payload) => {
console.log("select", payload)
} )
if (component) registerOutputHandler(component, "change", (payload) => {
console.log("change", payload)
} )
if (component) registerOutputHandler(component, "clear", (payload) => {
console.log("clear", payload)
} )
if (component) registerOutputHandler(component, "open", (payload) => {
console.log("open", payload)
} )
if (component) registerOutputHandler(component, "close", (payload) => {
console.log("close", payload)
} )
if (component) registerOutputHandler(component, "load", (payload) => {
console.log("load", payload)
} )
if (component) registerOutputHandler(component, "error", (payload) => {
console.log("error", payload)
} )
Component API Props and configuration All content and behavior shown above is supplied through these props and slots.
Prop Type Default Required sizestring "default"No colorstring "primary"No labelstring "Advanced Select"No namestring ""No valuestring ""No valuesunknown[] []No optionsunknown[] []No groupsunknown[] []No placeholderstring "Select an option"No placeholderIconstring ""No searchPlaceholderstring "Search options…"No multipleboolean falseNo searchableboolean trueNo defaultOpenboolean falseNo clearableboolean trueNo allowEmptyboolean trueNo tagsboolean falseNo disabledboolean falseNo requiredboolean falseNo invalidboolean falseNo validationMessagestring ""No helpTextstring ""No loadingboolean falseNo loadingLabelstring "Loading options…"No emptyLabelstring "No options found"No selectedOptionsLabelstring "Selected options"No clearLabelstring "Clear selection"No createLabelstring "Create"No loadMoreLabelstring "Load more"No searchModestring "contains"No searchFieldsstring "label,description"No minSearchLengthnumber 0No searchResultLimitnumber 0No maxSelectionsnumber 0No showCounterboolean falseNo counterTemplatestring "{ selected} selected"No optionTemplatestring "default"No selectedTemplatestring "default"No closeOnSelectboolean trueNo scrollToSelectedboolean trueNo fixedboolean falseNo placementstring "bottom"No remoteboolean falseNo remoteUrlstring ""No remoteQueryParamstring "q"No remoteDebouncenumber 250No remoteAutoLoadboolean trueNo infiniteboolean falseNo hasMoreboolean falseNo pagenumber 1No classstring ""No
}
}