Commit 344ca899 authored by Pascal Hartig's avatar Pascal Hartig

Fix selection

parent a6f91f6d
...@@ -235,7 +235,8 @@ todoItem address todo = ...@@ -235,7 +235,8 @@ todoItem address todo =
, input , input
[ value todo.description [ value todo.description
, name "title" , name "title"
, classList [ ("edit", True), ("todo-" ++ toString todo.id, True)] , class "edit"
, id ("todo-" ++ toString todo.id)
, on "input" targetValue (Signal.message address << UpdateTask todo.id) , on "input" targetValue (Signal.message address << UpdateTask todo.id)
, onBlur address (EditingTask todo.id False) , onBlur address (EditingTask todo.id False)
, onEnter address (EditingTask todo.id False) , onEnter address (EditingTask todo.id False)
......
...@@ -13429,14 +13429,10 @@ Elm.Todo.make = function (_elm) { ...@@ -13429,14 +13429,10 @@ Elm.Todo.make = function (_elm) {
,A2($Html.input, ,A2($Html.input,
_L.fromArray([$Html$Attributes.value(todo.description) _L.fromArray([$Html$Attributes.value(todo.description)
,$Html$Attributes.name("title") ,$Html$Attributes.name("title")
,$Html$Attributes.classList(_L.fromArray([{ctor: "_Tuple2" ,$Html$Attributes.$class("edit")
,_0: "edit" ,$Html$Attributes.id(A2($Basics._op["++"],
,_1: true}
,{ctor: "_Tuple2"
,_0: A2($Basics._op["++"],
"todo-", "todo-",
$Basics.toString(todo.id)) $Basics.toString(todo.id)))
,_1: true}]))
,A3($Html$Events.on, ,A3($Html$Events.on,
"input", "input",
$Html$Events.targetValue, $Html$Events.targetValue,
...@@ -13567,7 +13563,7 @@ Elm.Todo.make = function (_elm) { ...@@ -13567,7 +13563,7 @@ Elm.Todo.make = function (_elm) {
"#todo-", "#todo-",
$Basics.toString(_v3._0));} $Basics.toString(_v3._0));}
_U.badCase($moduleName, _U.badCase($moduleName,
"on line 334, column 42 to 65"); "on line 335, column 42 to 65");
}(); }();
}; };
var needsFocus = function (act) { var needsFocus = function (act) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment