on master help sign in
Fix errors pointed out by @mgold
0dcee3eEvan Czaplicki
libraries/Graphics/Input/Field.elm+2−2
@@ -1,5 +1,5 @@
1module Graphics.Input.Field where
1module Graphics.Input.Field where
2−{-| This library specifically addresses text fields. It uses the same genral
2+{-| This library specifically addresses text fields. It uses the same general
3approach as the [`Graphics.Input`](Graphics-Input) module for describing an
3approach as the [`Graphics.Input`](Graphics-Input) module for describing an
4`Input`, so this library focuses on creating and styling text fields.
4`Input`, so this library focuses on creating and styling text fields.
5
5
@@ -110,7 +110,7 @@ to match what they have entered.
110 name = input noContent
110 name = input noContent
111
111
112 nameField : Signal Element
112 nameField : Signal Element
113− nameField = field name.handle id "Name" <~ name.signal
113+ nameField = field name.handle id defaultStyle "Name" <~ name.signal
114-}
114-}
115field : Handle a -> (Content -> a) -> Style -> String -> Content -> Element
115field : Handle a -> (Content -> a) -> Style -> String -> Content -> Element
116field = Native.Graphics.Input.field
116field = Native.Graphics.Input.field