Skip to content

Initialize form values from object #128

Open
@KES777

Description

@KES777

It would be nice to do vice versa: from given hash setup form values

$("form").setData({foo: {bar: "a", bof: "b"}, hello: "world"});

which in turn will fill corresponding form fields with given values:

<input name="foo[bar]" value="a">
<input name="foo[bof]" value="b">
<input name="hello" value="world">

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