1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-01-07 08:56:54 +02:00

[#2510] added missing .length prop to the select searchable check

This commit is contained in:
Gani Georgiev 2023-05-19 13:46:30 +03:00
parent 6d0303deaf
commit faaf19d3bb

View File

@ -29,7 +29,7 @@
multiple={isMultiple}
closable={!isMultiple || value?.length >= field.options?.maxSelect}
items={field.options?.values}
searchable={field.options?.values > 5}
searchable={field.options?.values?.length > 5}
bind:selected={value}
/>
{#if field.options?.maxSelect > 1}