0

prevent expanding collapsible when delete btn is clicked in materialize css

I am using materialize collapsible for showing the list items. And I have two buttons, one for expanding the collapsible and the other for deleting the list, Expanding the list works fine, but when delete button is clicked I ask for confirmation for deleting the list, if "yes" it will be deleted otherwise wont be deleted. So the actual problem I am facing is when click the delete button, the confirmation pops up, and when I click "no" the list is expanding. I need to prevent this behaviour. I am attaching the link : https://code.sololearn.com/WA6a2a24767a Any help is highly appreciated Thanks

6th Jan 2021, 5:40 AM
Gopinath M
Gopinath M - avatar
1 ответ
0
Hi
19th Jan 2021, 9:31 PM
Michael
Michael - avatar