Merge pull request #94 from ollef/edge-case

Change the order of text input type and value attributes
This commit is contained in:
Matthew Griffith 2019-06-12 19:24:04 -04:00 committed by GitHub
commit 06be0169f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -741,8 +741,8 @@ textHelper textInput attrs textOptions =
case textInput.type_ of
TextInputNode inputType ->
( "input"
, [ value textOptions.text
, Internal.Attr (Html.Attributes.type_ inputType)
, [ Internal.Attr (Html.Attributes.type_ inputType)
, value textOptions.text
, spellcheck textInput.spellchecked
, Internal.htmlClass classes.inputText
, case textInput.autofill of