From 02c6b6b8b429e2f5ed8d67413e832816d14d9fbd Mon Sep 17 00:00:00 2001 From: nfebe Date: Fri, 11 Sep 2026 13:11:21 +0100 Subject: [PATCH] feat(design): Add a select that can be searched A native select is usable for a handful of options and not for a hundred. A provider names its models and nobody remembers the spelling, so the one place that has to offer them all could only offer a list to scroll. Options carry a group, which becomes a heading in place rather than a nested list, so what the keyboard counts and what is on screen stay in the same order. --- src/components/SearchableSelect.vue | 205 ++++++++++++++++++++++++++++ src/index.js | 1 + 2 files changed, 206 insertions(+) create mode 100644 src/components/SearchableSelect.vue diff --git a/src/components/SearchableSelect.vue b/src/components/SearchableSelect.vue new file mode 100644 index 0000000..3287a28 --- /dev/null +++ b/src/components/SearchableSelect.vue @@ -0,0 +1,205 @@ + + + diff --git a/src/index.js b/src/index.js index e3df1c8..a3f4b07 100644 --- a/src/index.js +++ b/src/index.js @@ -15,6 +15,7 @@ export { default as Input } from './components/Input.vue' export { default as ItemCard } from './components/ItemCard.vue' export { default as PageHead } from './components/PageHead.vue' export { default as Select } from './components/Select.vue' +export { default as SearchableSelect } from './components/SearchableSelect.vue' export { default as Tabs } from './components/Tabs.vue' export { default as Textarea } from './components/Textarea.vue' export { default as ListInput } from './components/ListInput.vue'