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

Filtering should remove values from arrays #7

Open
gsouf opened this issue Sep 25, 2015 · 0 comments
Open

Filtering should remove values from arrays #7

gsouf opened this issue Sep 25, 2015 · 0 comments

Comments

@gsouf
Copy link
Owner

gsouf commented Sep 25, 2015

we should be able to easily add filters to remove data that dont belong to the form. Filltering data aims to make them 100% relevant.

The idea would be to implement this in the builder. Then every element added by the builder would have a filter StrictField to be added automatically.

Consider a form containing firstname and lastname inputs.

We expect the following data :

[
    firstname: "bart",
    lastname : "simpsons",
    age : 12
]

to become after filtring :

[
    firstname: "bart",
    lastname : "simpsons"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant