@@ -11,7 +11,7 @@ text fields programmatically.
11@docs Content, Selection, Direction, noContent
11@docs Content, Selection, Direction, noContent
13# Field Style
13# Field Style
14−@docs Style, Outline, noOutline, Highlight, noHighlight, Dimensions, uniformly
14+@docs defaultStyle, Style, Outline, noOutline, Highlight, noHighlight, Dimensions, uniformly
17import Color (Color)
17import Color (Color)
@@ -140,7 +140,7 @@ to match what they have entered.
140 name = input noContent
140 name = input noContent
142 nameField : Signal Element
142 nameField : Signal Element
143− nameField = field defaultStyle name.handle id "Name" <~ name.signal
143+ nameField = field defaultStyle name.handle identity "Name" <~ name.signal
145When we use the `field` function, we first give it a visual style. This is
145When we use the `field` function, we first give it a visual style. This is
146the first argument so that it is easier to define your own custom field
146the first argument so that it is easier to define your own custom field