From 2e1fa2e36b9a7371d575d26b694e5eba00435924 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Thu, 13 Aug 2020 16:43:49 -0500 Subject: [PATCH] add the "checked" attribute to segmented controls that are selected --- src/Nri/Ui/SegmentedControl/V11.elm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nri/Ui/SegmentedControl/V11.elm b/src/Nri/Ui/SegmentedControl/V11.elm index fba417d0..3d94c67c 100644 --- a/src/Nri/Ui/SegmentedControl/V11.elm +++ b/src/Nri/Ui/SegmentedControl/V11.elm @@ -96,6 +96,7 @@ viewRadioGroup config = (radio name (config.toString option.value) isSelected <| (Events.onCheck (\_ -> config.onSelect option.value) :: css [ Css.opacity Css.zero ] + :: Attributes.checked isSelected :: Style.invisible ) )