Thanks to visit codestin.com
Credit goes to github.com

Skip to content

checkbox is not added to request.params when checkbox is not checked initially #332

@some-avail

Description

@some-avail

When I iterate thru request.params in the post-phase, I find that initially unchecked checkboxes are not added to request.params. (that is boxes without the checked-attribute).

However, the unchecked checkboxes values can be accessed thru @"somecheckbox" without returning a key-error.

Should the code not be adjusted to add the keys for unchecked checkbox with the value empty-string?

For refactoring my code i need to use request.params. Can this feature be added?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions