LearnNewsExamplesServices
Frontmatter
id3863
titleform.field.CheckBox: afterSetChecked()
stateClosed
labels
bug
assigneestobiu
createdAtJan 15, 2023, 4:03 PM
updatedAtJan 15, 2023, 4:03 PM
githubUrlhttps://github.com/neomjs/neo/issues/3863
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 15, 2023, 4:03 PM

form.field.CheckBox: afterSetChecked()

Closed v8.1.0 bug
tobiu
tobiu commented on 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

tobiu added the bug label on Jan 15, 2023, 4:03 PM
tobiu assigned to @tobiu on Jan 15, 2023, 4:03 PM
tobiu referenced in commit bcda884 - "form.field.CheckBox: afterSetChecked() #3863" on Jan 15, 2023, 4:03 PM
tobiu closed this issue on Jan 15, 2023, 4:03 PM