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

How to Arrange Based on Form Position #41

Open
rizkiandrianto opened this issue Oct 27, 2016 · 1 comment
Open

How to Arrange Based on Form Position #41

rizkiandrianto opened this issue Oct 27, 2016 · 1 comment

Comments

@rizkiandrianto
Copy link

rizkiandrianto commented Oct 27, 2016

Hi,

I have a form like this:

image

but the data is like this:

image

Could you guys tell me how to get it arrange just like the form orders?

Thank you...

@RinkAttendant6
Copy link

It appears that the object is arranged in the order that the elements are presented on the form. Browser dev tools usually alphabetize object properties when viewing them.
If you inspect the result of JSON.stringify on your object, you'll see that the properties are in your desired order (look at the first line of your screenshot that starts with Object).

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

2 participants