From c48300b1594e54467a5bd1b8eef9a30f64f19a7a Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 21 Jul 2021 14:35:37 +0100 Subject: [PATCH] Set default getOptionIcon prop to avoid crash when using core select, like in client apps --- packages/bbui/src/Form/Core/Select.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bbui/src/Form/Core/Select.svelte b/packages/bbui/src/Form/Core/Select.svelte index 398672af10..a815ae2948 100644 --- a/packages/bbui/src/Form/Core/Select.svelte +++ b/packages/bbui/src/Form/Core/Select.svelte @@ -10,7 +10,7 @@ export let options = [] export let getOptionLabel = option => option export let getOptionValue = option => option - export let getOptionIcon = null + export let getOptionIcon = () => null export let readonly = false export let quiet = false export let autoWidth = false