diff --git a/modules/webapp/src/main/elm/Comp/ItemDetail.elm b/modules/webapp/src/main/elm/Comp/ItemDetail.elm index 00758504..5510b9d9 100644 --- a/modules/webapp/src/main/elm/Comp/ItemDetail.elm +++ b/modules/webapp/src/main/elm/Comp/ItemDetail.elm @@ -762,7 +762,10 @@ renderEditForm model = ] ,div [class "field"] [div [class "ui action input"] - [textarea [rows 7, onInput SetNotes][Maybe.withDefault "" model.notesModel |> text] + [textarea [ rows 6 + , autocomplete False + , onInput SetNotes + ][Maybe.withDefault "" model.notesModel |> text] ,button [class "ui icon button", onClick SaveNotes] [i [class "save outline icon"][] ] diff --git a/modules/webapp/src/main/elm/Page/Login/View.elm b/modules/webapp/src/main/elm/Page/Login/View.elm index effba219..f7d35c84 100644 --- a/modules/webapp/src/main/elm/Page/Login/View.elm +++ b/modules/webapp/src/main/elm/Page/Login/View.elm @@ -21,11 +21,15 @@ view flags model = [text "Sign in to Docspell" ] ] - ,Html.form [class "ui large error raised form segment", onSubmit Authenticate] + ,Html.form [ class "ui large error raised form segment" + , onSubmit Authenticate + , autocomplete False + ] [div [class "field"] [label [][text "Username"] ,div [class "ui left icon input"] [input [type_ "text" + ,autocomplete False ,onInput SetUsername ,value model.username ,placeholder "Collective / Login" @@ -38,6 +42,7 @@ view flags model = [label [][text "Password"] ,div [class "ui left icon input"] [input [type_ "password" + ,autocomplete False ,onInput SetPassword ,value model.password ,placeholder "Password" diff --git a/modules/webapp/src/main/elm/Page/Register/View.elm b/modules/webapp/src/main/elm/Page/Register/View.elm index 8300cabd..835b201e 100644 --- a/modules/webapp/src/main/elm/Page/Register/View.elm +++ b/modules/webapp/src/main/elm/Page/Register/View.elm @@ -20,11 +20,15 @@ view flags model = [text "Sign up @ Docspell" ] ] - ,Html.form [class "ui large error form raised segment", onSubmit RegisterSubmit] + ,Html.form [ class "ui large error form raised segment" + , onSubmit RegisterSubmit + , autocomplete False + ] [div [class "required field"] [label [][text "Collective ID"] ,div [class "ui left icon input"] [input [type_ "text" + ,autocomplete False ,onInput SetCollId ,value model.collId ,autofocus True @@ -36,6 +40,7 @@ view flags model = [label [][text "User Login"] ,div [class "ui left icon input"] [input [type_ "text" + ,autocomplete False ,onInput SetLogin ,value model.login ][] @@ -47,6 +52,7 @@ view flags model = [label [][text "Password"] ,div [class "ui left icon action input"] [input [type_ <| if model.showPass1 then "text" else "password" + ,autocomplete False ,onInput SetPass1 ,value model.pass1 ][] @@ -61,6 +67,7 @@ view flags model = [label [][text "Password (repeat)"] ,div [class "ui left icon action input"] [input [type_ <| if model.showPass2 then "text" else "password" + ,autocomplete False ,onInput SetPass2 ,value model.pass2 ][] @@ -76,6 +83,7 @@ view flags model = [label [][text "Invitation Key"] ,div [class "ui left icon input"] [input [type_ "text" + ,autocomplete False ,onInput SetInvite ,model.invite |> Maybe.withDefault "" |> value ][]