summaryrefslogtreecommitdiff
path: root/elm/Lib/Html.elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-09-26 11:16:01 +0200
committerYorhel <git@yorhel.nl>2020-09-27 09:56:44 +0200
commitfc1a584b3253892eb563eb204c9a510ef71d04de (patch)
tree7b9c914cf386ebd6cf3872ec18601826fdcd2c33 /elm/Lib/Html.elm
parent06325fde90ccf916e9ad8db69fa767bb3eaa7f19 (diff)
v2rw/TagEdit: Rewrite tag edit form to elm
It's still missing a few mod features, will add those later.
Diffstat (limited to 'elm/Lib/Html.elm')
-rw-r--r--elm/Lib/Html.elm3
1 files changed, 2 insertions, 1 deletions
diff --git a/elm/Lib/Html.elm b/elm/Lib/Html.elm
index 2d7d516c..440abd00 100644
--- a/elm/Lib/Html.elm
+++ b/elm/Lib/Html.elm
@@ -125,10 +125,11 @@ inputTextArea nam val onch attrs = textarea (
, onInput onch
, rows 4
, cols 50
+ , value val
]
++ attrs
++ (if nam == "" then [] else [ id nam, name nam ])
- ) [ text val ]
+ ) []
inputCheck : String -> Bool -> (Bool -> m) -> Html m