forked from gitea/gitea

Backport #23224 Regression of #10107 (https://github.com/go-gitea/gitea/pull/10107/files#diff-a15e36f2f9c13339f7fdd38bc2887db2ff2945cb8434464318ab9105fcc846bdR460) Fix #22222 Before: the "clear" action couldn't remove these check marks.  After: the "clear" action can remove these check marks.  Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>