question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multi level model on Vue CLI 3 template not working

See original GitHub issue

Hi,

I am updating my app to the new Vue CLI 3 and noticed that all my fields using a multi-level model stopped working (the field’s value remains undefined).

model: {
    id: 1234,
    person: {
        name: "John Doe"
        age: 22
    },
}

For example, a field using id will work fine, but person.name or person.age won’t.

I tested vue-form-generator on a brand new project created with Vue CLI 3 (default settings) and the problem persists.

Any ideas?

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
lionel-bijaouicommented, Oct 17, 2018

Will be fixed soon, same problem as #526 Will do a PR tomorrow !

1reaction
lionel-bijaouicommented, Oct 19, 2018

Should be fixed by #532

Read more comments on GitHub >

github_iconTop Results From Across the Web

multiple pages in Vue.js CLI
Right now I have my home page with a few components and I want to create another page but I do not know...
Read more >
Modes and Environment Variables
When running vue-cli-service , environment variables are loaded from all corresponding files. If they don't contain a NODE_ENV variable, it will ...
Read more >
HMR (Hot module reload) not working with vue cli 3 #2051
One failure mode I've come across here is if you've managed to end up with multiple installations of webpack in your node_modules. The...
Read more >
Vue JS 3 Tutorial for Beginners #4 - The Vue CLI ... - YouTube
In this Vue 3 tutorial we'll use the Vue CLI to boilerplate a larger Vue project for us, which will ultimately contain multiple...
Read more >
Vue 3.1 - Official Migration Build from Vue 2 to 3
We will be using this repository as an example for our Vue 3 migration. It is a Vue CLI application that implements a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found