Fix a bug in Vue Parent and child pattern using Pinia store

Job ID: 36662056

Budget: $10 – $30 USD

Hi,
I use a child component to add new Line Items to the invoice. The line item contains a VSelect that is used to select the item.
There is two bugs:
1- When a new line is added, the VSelect empty by default, and when an item is selected the VSelect becomes empty again. and at the second time we select the same item it work fine. In other words, you nee to select the item twice to be displayed in the VSelect.

2-When a line item deleted, all the other line items lose the selected item in the VSelect and they become empty.
Related categories: Vue.js Vue.js Framework