git.iko.soy/rowtype-yoga/ry-blocks
on main help sign in
Refactoring input
12d4996Mark Eibes
src/Yoga/Block/Atom/Input/View.purs+1−1
@@ -209,7 +209,7 @@ rawComponent =
209 rawContainer
209 rawContainer
210 </ { label: (mkLabel <$> props.label) ?|| mempty
210 </ { label: (mkLabel <$> props.label) ?|| mempty
211 , hasFocus: hasFocus
211 , hasFocus: hasFocus
212− , inputProps: props
212+ , isInvalid: aria # Object.lookup "invalid" <#> (_ == "true")
213 , css: props.css
213 , css: props.css
214 }
214 }
215 /> [ leading # foldMap \l -> div </ { ref: leftIconRef } /> [ l ]
215 /> [ leading # foldMap \l -> div </ { ref: leftIconRef } /> [ l ]