combobox: improved picker width behaviour

add width behaviour options, fix match width
This commit is contained in:
Elijah Duffy
2026-03-10 16:05:47 -07:00
parent 3d240048c7
commit f8eb05cccf
3 changed files with 65 additions and 28 deletions

View File

@@ -184,6 +184,7 @@
]}
onchange={(e) => console.log('Selected:', e.value)}
onvalidate={(e) => console.log('Validation:', e.detail)}
pickerWidth="max-match"
>
{#snippet labelRender(opt: ComboboxOption)}
Processed {opt.label}