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
9292type InputProps =
9393 { "type" :: String
9494 , autoComplete :: String
95+ , autoFocus :: Boolean
9596 , checked :: CheckboxState
9697 , disabled :: Boolean
9798 , max :: Nullable Number
@@ -125,6 +126,7 @@ input = makeStateless component $ element lumiInputElement <<< mapProps
125126 , " data-variant" : show props.variant
126127 , " type" : props." type"
127128 , autoComplete: props.autoComplete
129+ , autoFocus: props.autoFocus
128130 , checked: props.checked == On
129131 , className: " lumi"
130132 , disabled: props.disabled
@@ -149,6 +151,7 @@ text_ :: InputProps
149151text_ =
150152 { " type" : " text"
151153 , autoComplete: " on"
154+ , autoFocus: false
152155 , checked: Off
153156 , disabled: false
154157 , max: toNullable Nothing
You can’t perform that action at this time.
0 commit comments