evancz/elm-architecture-tutorial

Small error in 07-websockets.elm

bxqgit opened this issue · 1 comments

The view function contains the line:

[ input [onInput Input] []

But looks like it should be:

[ input [onInput Input, value model.input] []

So that the input field clears after the Send action.

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.