Browse Source

Set default getOptionIcon prop to avoid crash when using core select, like in client apps

pull/4023/head
Andrew Kingston 5 years ago
parent
commit
1effdc0e8f
  1. 2
      packages/bbui/src/Form/Core/Select.svelte

2
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

Loading…
Cancel
Save