Here now If I click on the delete icon, then it should disappear from the list. How achieve this ? The child component is cardlayout.
Discussion posts and replies are publicly visible
Not sure how you have implemented it, but if you are using foreach() you can use remove() function to remove the particular item using fv!index or fv!item the list upon which the UI is iterating.
The implementation is very simple on the parent component iterate the foreach and build the child component. Now the delete button is on the child component on click of the delete button how to remove the item from the list that uses in for-each in the parent component.
You will have to pass the data into the child component using a rule input. Then you can manipulate the data living in the parent component from the child.
Blog post: appian.rocks/.../