Reagent table row adding



I have been trying to make a table in Reagent that adds a new row of blank text boxes when I press a button. I can get the table and the button to display but no new row is added when I press the button. My code is here:

Can anyone see anything that would cause this problem?



Hi @Alan_Forrester,

I’m not exactly sure, but it looks like you’re not putting data about the new rows in the right place. You’re putting it in [:content :content], but the rows are coming out of :rows. Try putting the rows in :rows.



You were right, thanks. I was also making a few other mistakes that resulted in formatting problems, like all the next textareas being in the first td of the new row. The modified version that produces a table with a button that adds rows of text areas is here