git.iko.soy/typeable/elm-ui
on master help sign in
Merge pull request #94 from ollef/edge-case

Change the order of text input type and value attributes

commit06be0169f13fec496ef5c088d7711d6cea940541 authorMatthew Griffith <mdg.griffith@gmail.com> dateWed 12 Jun 2019, 19:24 (7 years ago) parent7ef99854f493a2
1 file changed+2−2
src/Element/Input.elm+2−2
src/Element/Input.elm+2−2
@@ -741,8 +741,8 @@ textHelper textInput attrs textOptions =
741741 case textInput.type_ of
742742 TextInputNode inputType ->
743743 ( "input"
744− , [ value textOptions.text
745− , Internal.Attr (Html.Attributes.type_ inputType)
744+ , [ Internal.Attr (Html.Attributes.type_ inputType)
745+ , value textOptions.text
746746 , spellcheck textInput.spellchecked
747747 , Internal.htmlClass classes.inputText
748748 , case textInput.autofill of