[Vuejs]-While passing data from parent to child, it passes but view doesn't get updated

0👍

You are initializing accounts from accountTypes, but initialization is a one-time thing. Updates to accountTypes will not re-initialize accounts.

If you want the child to stay up-to-date with the parent, then you should get rid of accounts and just use accountTypes.

👤Roy J

Leave a comment