We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2676db9 commit 0f67bf2Copy full SHA for 0f67bf2
1 file changed
src/Lumi/Components/Input.purs
@@ -92,6 +92,7 @@ displayStep (Step e) = show e
92
type InputProps =
93
{ "type" :: String
94
, autoComplete :: String
95
+ , autoFocus :: Boolean
96
, checked :: CheckboxState
97
, disabled :: Boolean
98
, max :: Nullable Number
@@ -125,6 +126,7 @@ input = makeStateless component $ element lumiInputElement <<< mapProps
125
126
, "data-variant": show props.variant
127
, "type": props."type"
128
, autoComplete: props.autoComplete
129
+ , autoFocus: props.autoFocus
130
, checked: props.checked == On
131
, className: "lumi"
132
, disabled: props.disabled
@@ -149,6 +151,7 @@ text_ :: InputProps
149
151
text_ =
150
152
{ "type": "text"
153
, autoComplete: "on"
154
+ , autoFocus: false
155
, checked: Off
156
, disabled: false
157
, max: toNullable Nothing
0 commit comments