Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

jcjp/parent-child-modal-issue

Repository files navigation

parent-child-modal-issue

Sample repository for the VueJS issue Issue description: When I try to open the Edit modal, the input values does not get initialized with the data from the parent I am able to initialize the values using beforeUpdate however I am encountering an issue whenever I tried to close the modal And re-open it, and click on any of the input field it reverts back to the last state version not the original value

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.

About

VueJS issue not initializing the input fields in a child modal, data coming from parent as props

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published