Lumuy
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
Thanks, Chris. This help me a lot.
Only one problem.
In the stimulus controller, when task is not a new record, remove it will not hide the content.
change
wrapper.style.display = "none"
to
$(wrapper).children().hide()
Hope this could help others.