🎨 remove reidrection -- if we want to use the indeterminate styles let's do that

This commit is contained in:
Tessa Kelly 2018-06-15 11:33:17 -07:00
parent 23abc65573
commit 8739188cd9

View File

@ -123,7 +123,7 @@ disabled identifier labelText =
]
, label
[ RootAttributes.for identifier
, getLabelClass NotSelected
, styles.class [ Label, Indeterminate ]
]
[ RootHtml.text labelText
]
@ -465,22 +465,6 @@ viewLabel model content class theme =
[ content ]
getLabelClass : IsSelected -> RootHtml.Attribute msg
getLabelClass maybeChecked =
styles.class
[ Label
, case maybeChecked of
Selected ->
Checked
NotSelected ->
Unchecked
PartiallySelected ->
Indeterminate
]
indeterminateAttr : RootHtml.Attribute msg
indeterminateAttr =
RootAttributes.property "indeterminate" (Json.Encode.bool True)