Skip to content

Missing empty values #38

Open
Open
@pnikolov

Description

@pnikolov

How to reproduce
Use the following demo - http://jsfiddle.net/9xfdvLbL/

Conditions
Typing some copy in the input text and by selecting one or more categories, you get:

{"filtering":{"title":"john doe","categories":["1","3"]}}

Problem
When submitting the form without entering any values in the form fields. You get:

{"filtering":{"title":""}}

Expectation
When submitting the form with no values in the fields to get:

{"filtering":{"title":"","categories":[]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions