Open
Description
Hide Completed/Show All as shown in tutorial has a bug.
- Check a task
- Press "Hide Completed"
- The task doesn't show
- Press "Show all"
- The task shows up
- Bad, current behavior: The task checkbox is displayed unchecked, leading the user to think the task is not checked - and mismatches unchecked tasks with the pending count (by one, in this case)
- Correct, future behavior: The task checkbox is checked
The fix lies in imports/ui/Task.html
Instead of:
<input type="checkbox" class="toggle-checked" />
or similar code,
Mention:
{{#if isChecked}} <input type="checkbox" checked class="toggle-checked"/> {{else}} <input type="checkbox" class="toggle-checked" /> {{/if}}
Metadata
Metadata
Assignees
Labels
No labels