Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkbox: allow $uncheckedValue to be nullable to distinguish unset property from empty string and zero string #242

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

rieschl
Copy link
Contributor

@rieschl rieschl commented Oct 16, 2023

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

This PR adds a failing test to showcase issue #241

…ment

* add a failing test to showcase the bug

Signed-off-by: Thomas Rieschl <thomas@trinet.at>
…empty string and zero string

Signed-off-by: Filippo Tessarotto <zoeslam@gmail.com>
@Slamdunk Slamdunk linked an issue Oct 17, 2023 that may be closed by this pull request
@Slamdunk Slamdunk added this to the 3.13.1 milestone Oct 17, 2023
@Slamdunk Slamdunk added the Bug Something isn't working label Oct 17, 2023
@Slamdunk Slamdunk changed the title FormMultiCheckbox should respect 0 as uncheckedValue in an hidden element Checkbox: allow $uncheckedValue to be nullable to distinguish unset property from empty string and zero string Oct 17, 2023
@Slamdunk Slamdunk merged commit 8883a89 into laminas:3.13.x Oct 17, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FormMultiCheckbox doesn't render zero as hidden element
2 participants