Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

chrish@diversifiedtechnology.com's avatar

Vue js help

I am working on a project. I have a set of data that I am storing in a table that is rendered to a vue component. The data that is rendered is the basis for what will be inserted into a data base table as a list of items to do. The issue I am hoping to solve is the data comes in fine, but of this data I have 2 pieces of info that need to be filled in my the user and then sent to the data set to render thr list of items to be completed. What I was hoping to be able to accomplish is to render this in a from and allow the user to choose the fields that are required then submit the entire set to the backend. For these items there are about 30 data records that need to submitted. I was able to make this work by creating variable in the data object for each line and submitting that data. But that is a huge component and hard to maintain when things are added. I was hoping to find a better option. Example below

Table Title. Description status Test. Test. A.

That would be one record sent to vue. Then in the data object

Title Description Status Due date Assigned_id

Now I understand that will submit as a whole record but I want to display all of them and submit all of them

Is there a way to loop through and add a new data property for each item in the table ?

0 likes
0 replies

Please or to participate in this conversation.