Switched the scanstation detail over to svelte select👀👀

ref #98
This commit is contained in:
2021-03-18 15:56:18 +01:00
parent 64c96f25d4
commit b1031e3115
2 changed files with 32 additions and 19 deletions

View File

@@ -140,8 +140,8 @@
.startsWith(filterText.toLowerCase())}
items={tracks}
showChevron={true}
placeholder={$_('search-for-an-organization-or-team-by-name-or-id')}
noOptionsMessage={$_('no-organization-or-team-found')}
placeholder="Search for a track (by name or id)."
noOptionsMessage="No track found"
on:select={(selectedValue) => (track = selectedValue.detail.value.id)}
on:clear={() => (track = null)} />
</div>