Skip to content

Form submission causes submission of all states #70

@ollyfg

Description

@ollyfg

There are cases when you have the prompt in one state, set some inputs, and click "next". The inputs get ajaxed to the server and the prompt changes state to a new state with more inputs.
The issue arises when you fill in these inputs and submit them, and the f object in the submit_function(e,v,m,f) now contains all of inputs from both states. When two inputs are named the same, one gets a list of results, with no (obviously) guaranteed order.

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