andrewhathaway / Winterfell

Generate complex, validated and extendable JSON-based forms in React.
http://winterfell.andrewhathaway.net
MIT License
785 stars 116 forks source link

questionAnswers filtered by question paths onSubmit #85

Closed geekyme closed 7 years ago

geekyme commented 7 years ago

Current behavior

In the demo, http://winterfell.andrewhathaway.net/, I first executed the path of an unsubscribed user. Therefore creating a json payload below:

screen shot 2017-03-18 at 8 31 08 pm

After that, I click back and executed the path of a subscribed user. And I see the json payload below:

screen shot 2017-03-18 at 8 32 11 pm

Expected behavior

The printed json payload should only contain data relevant to executed path. ie. I should not see any of the reg-* fields.

andrewhathaway commented 7 years ago

Hi @geekyme, yes you are correct. This, sadly, has been in from the start. I'll have to spend some time looking in to the issues for this project, PRs are accepted too!

andrewhathaway commented 7 years ago

Closing due to dupe (#5).