We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e8642 commit 685c015Copy full SHA for 685c015
web/static/exjs/todo.exs
@@ -1,7 +1,7 @@
1
defmodule Todo do
2
defp process_event(%KeyboardEvent{"which" => 13} = event) do
3
Todo.Data.add(event.target.value)
4
- JS.update(event.target, "value", "")
+ JS.update(event.target, object(value: ""))
5
end
6
7
defp process_event(%KeyboardEvent{} = event) do
0 commit comments