File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ displayStep (Step e) = show e
92
92
type InputProps =
93
93
{ "type" :: String
94
94
, autoComplete :: String
95
+ , autoFocus :: Boolean
95
96
, checked :: CheckboxState
96
97
, disabled :: Boolean
97
98
, max :: Nullable Number
@@ -125,6 +126,7 @@ input = makeStateless component $ element lumiInputElement <<< mapProps
125
126
, " data-variant" : show props.variant
126
127
, " type" : props." type"
127
128
, autoComplete: props.autoComplete
129
+ , autoFocus: props.autoFocus
128
130
, checked: props.checked == On
129
131
, className: " lumi"
130
132
, disabled: props.disabled
@@ -149,6 +151,7 @@ text_ :: InputProps
149
151
text_ =
150
152
{ " type" : " text"
151
153
, autoComplete: " on"
154
+ , autoFocus: false
152
155
, checked: Off
153
156
, disabled: false
154
157
, max: toNullable Nothing
You can’t perform that action at this time.
0 commit comments