Closed MusheAbdulHakim closed 2 years ago
Try using button
element instead of <a>
. Else just try input type=button as per the docs and see if that works. If you want fa icon to be displayed you can use button element.
Also try remove the div
element inside tbody
and use data-repeater-list="items"
on tbody
. Move your add button outside of tbody
.
Thanks it is working
The form repeater works fine in regular forms but I want to use the repeater in a table to repeat table row. Below is my code:
here is my js
here is an image of my table
I want to add a new row when the plus button is clicked. I have test this with regular form fields it works fine. but once i put it in the tr and td tags, when i click on the plus button, it doesn't respond.
Below is the result i want to achieve. ![Uploading expected result.png…]()