1
0
Fork 0
mirror of synced 2024-07-14 02:36:22 +12:00

fix: pass sort parameter through the options picker

This commit is contained in:
Philipp Wirtenberger 2022-06-07 09:49:19 +02:00
parent 062db071e7
commit 7daf8ca00b

View file

@ -17,6 +17,7 @@
export let autocomplete = false export let autocomplete = false
export let direction = "vertical" export let direction = "vertical"
export let onChange export let onChange
export let sort = true
let fieldState let fieldState
let fieldApi let fieldApi
@ -64,7 +65,7 @@
getOptionLabel={flatOptions ? x => x : x => x.label} getOptionLabel={flatOptions ? x => x : x => x.label}
getOptionValue={flatOptions ? x => x : x => x.value} getOptionValue={flatOptions ? x => x : x => x.value}
{autocomplete} {autocomplete}
sort={true} {sort}
/> />
{:else if optionsType === "radio"} {:else if optionsType === "radio"}
<CoreRadioGroup <CoreRadioGroup