Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

If use .array() together with .toUpper(), there is a possibility to break the back #27

@viktor32

Description

@viktor32
field("test").array().toUpper()

If to this request send {test: [null]}, server breaks down with exception TypeError: Cannot read property 'toString' of null

https://github.com/freewil/express-form/blob/master/lib/field.js#L182

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