Skip to main content
mccc
New Member
Aug 4, 2025 6:48 PM UTC
Question

Adding components dynamically with a button press

I want to be able to add the same component to a parent multiple times by pressing a button. One button press = one component added. Similar to adding rows to a data table with a + button. I would also be able to dynamically delete them with a trash icon. It doesn’t have to be infinite, I’d like to have a preset range of components that can be added to the parent.

This topic has been closed for replies.