diff --git a/packages/bbui/src/Form/Core/Picker.svelte b/packages/bbui/src/Form/Core/Picker.svelte index b78ff6fb02..4fb6c27acc 100644 --- a/packages/bbui/src/Form/Core/Picker.svelte +++ b/packages/bbui/src/Form/Core/Picker.svelte @@ -68,23 +68,26 @@ {/if} - {#each options as option} -
  • onSelectOption(getOptionValue(option))}> - {getOptionLabel(option)} - -
  • - {/each} + {#if options && Array.isArray(options)} + {#each options as option} +
  • onSelectOption(getOptionValue(option))}> + {getOptionLabel(option)} + +
  • + {/each} + {/if} {/if}