From 72b0b838e47d94ee79436727776dc3bbb5bee7c7 Mon Sep 17 00:00:00 2001 From: Ryan Gossiaux Date: Thu, 30 Dec 2021 15:39:55 -1000 Subject: [PATCH] RadioGroupOption: `active` slot prop should have boolean, not integer, value --- src/lib/components/radio-group/RadioGroupOption.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/radio-group/RadioGroupOption.svelte b/src/lib/components/radio-group/RadioGroupOption.svelte index f6bad7c..ea3a4fa 100644 --- a/src/lib/components/radio-group/RadioGroupOption.svelte +++ b/src/lib/components/radio-group/RadioGroupOption.svelte @@ -69,7 +69,7 @@ $: slotProps = { checked, disabled: isDisabled, - active: state & OptionState.Active, + active: !!(state & OptionState.Active), };