From 31543964ff5ce7e2c1761ebdcf3058986145fd2c Mon Sep 17 00:00:00 2001 From: Philipp Wirtenberger Date: Tue, 7 Jun 2022 09:49:19 +0200 Subject: [PATCH] fix: pass `sort` parameter through the options picker --- packages/client/src/components/app/forms/OptionsField.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/app/forms/OptionsField.svelte b/packages/client/src/components/app/forms/OptionsField.svelte index c0f98ed827..1df0216f56 100644 --- a/packages/client/src/components/app/forms/OptionsField.svelte +++ b/packages/client/src/components/app/forms/OptionsField.svelte @@ -17,6 +17,7 @@ export let autocomplete = false export let direction = "vertical" export let onChange + export let sort = true let fieldState let fieldApi @@ -64,7 +65,7 @@ getOptionLabel={flatOptions ? x => x : x => x.label} getOptionValue={flatOptions ? x => x : x => x.value} {autocomplete} - sort={true} + {sort} /> {:else if optionsType === "radio"}