Frontmatter
| id | 3863 |
| title | form.field.CheckBox: afterSetChecked() |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Jan 15, 2023, 4:03 PM |
| updatedAt | Jan 15, 2023, 4:03 PM |
| githubUrl | https://github.com/neomjs/neo/issues/3863 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 15, 2023, 4:03 PM |
we can not use
util.Array:toggle()here, since this can easily remove a valid base class.new value:
['fas', 'fa-check-square']old value:
['fas', 'fa-square']no matter what you do, one direction => check or uncheck will break when using toggle().
Moving back to
add()&remove().@maxrahder