LearnNewsExamplesServices
Frontmatter
id4274
titleform.field.CheckBox: uncheckedValue class field
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 12, 2023, 12:05 PM
updatedAtApr 12, 2023, 4:52 PM
githubUrlhttps://github.com/neomjs/neo/issues/4274
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 12, 2023, 4:52 PM

form.field.CheckBox: uncheckedValue class field

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 12, 2023, 12:05 PM

for use cases where there is just 1 checkbox (1 field with the same name, not a group), we might want to submit a value to the BE for the unchecked state.

we also need to adjust form.Container: getValues() to honor this.

tobiu added the enhancement label on Apr 12, 2023, 12:05 PM
tobiu assigned to @tobiu on Apr 12, 2023, 12:05 PM
tobiu referenced in commit db16649 - "form.field.CheckBox: uncheckedValue class field #4274" on Apr 12, 2023, 4:48 PM
tobiu referenced in commit 8e270ce - "#4274 fixed the form.Container logic, example inside the forms app" on Apr 12, 2023, 4:51 PM
tobiu closed this issue on Apr 12, 2023, 4:52 PM