Refactoring input
commit12d499626a3d6b01ac74ea86a7840988250f57f5
authorMark Eibes <mark.eibes@gmail.com>
dateTue 29 Dec 2020, 17:36 (6 years ago)
parent344d03e
src/Yoga/Block/Atom/Input/View.purs+1−1
@@ -209,7 +209,7 @@ rawComponent =
209209 rawContainer
210210 </ { label: (mkLabel <$> props.label) ?|| mempty
211211 , hasFocus: hasFocus
212− , inputProps: props
212+ , isInvalid: aria # Object.lookup "invalid" <#> (_ == "true")
213213 , css: props.css
214214 }
215215 /> [ leading # foldMap \l -> div </ { ref: leftIconRef } /> [ l ]