Set default getOptionIcon prop to avoid crash when using core select, like in client apps
This commit is contained in:
parent
e02f4c839e
commit
c48300b159
|
@ -10,7 +10,7 @@
|
||||||
export let options = []
|
export let options = []
|
||||||
export let getOptionLabel = option => option
|
export let getOptionLabel = option => option
|
||||||
export let getOptionValue = option => option
|
export let getOptionValue = option => option
|
||||||
export let getOptionIcon = null
|
export let getOptionIcon = () => null
|
||||||
export let readonly = false
|
export let readonly = false
|
||||||
export let quiet = false
|
export let quiet = false
|
||||||
export let autoWidth = false
|
export let autoWidth = false
|
||||||
|
|
Loading…
Reference in New Issue