Skip to content

add a "trim" option #142

@paulovieira

Description

@paulovieira

Trimming the data from a <form> with <inputs> is a basic operation. Would it make sense for the serialize method to support it directly?

var data = Backbone.Syphon.serialize(this, { trim: true });

I can make a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions