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

mapped fields inside one object #36

Closed
ghost opened this issue Jul 29, 2018 · 0 comments
Closed

mapped fields inside one object #36

ghost opened this issue Jul 29, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 29, 2018

Hello!

Im new to Vue JS and something like state management and currently trying to create a simple app where I am able to create a construction project with some information and send it to a MongoDB with axios on the frontend and express as the backend.

Currently working on the editing existing projects I have a form with 10 editable propertys.

image

And my question is how do I map those fields in my component so I can have one computed object with all my fields in it?

Because currently it looks like this:

image

Do I have to create again new object which contains all the computed propertys or is there a way to map currentSite as one?

Thanks for your help and best regards!

*Edit in the second screenshot, all the propertys are just inside computed

@ghost ghost closed this as completed Jul 30, 2018
This issue was closed.
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

0 participants