Todo Item intent: `doneEdit` action is fired twice on `keyup:enter`
Opened this issue · 0 comments
julio-saito-linx commented
Hi,
At this point
todomvc-cycle/src/components/TodoItem.js
Lines 23 to 27 in 2692a07
keyup
and
blur
are fired when ENTER
key is pressed. That way the model is written two times to localstorage
.
How can we ignore blur
event when keyup:ENTER
is fired?
This should be done on intent
or on model
?
Sorry, I'm still learning RxJS.