Closed microice89 closed 9 years ago
@microice89 - you scared me! i hope this isn't a bug and you may get directed to stackoverflow! Perhaps you are running into an id namespace collision since you are using the same id for your paper-button and core-collapse instance for each data item.
Definitely use chrome dev tools and debug your source:
Removing the "id" attribute of your paper-button or simply changing it seemed to allow your code to work!
Thanks, @jongeho1
thanks for the response. It saved my life. Setting same ID on both element was the main culprit. I didn't notice that.
I am trying to toggle the core collapse panel called inside repeating template element. I have provided dynamic ID to the core collapse element but on tap it says : Uncaught TypeError: boolean is not a function
My code is :
My script is :
I need to toggle their respective collapse element on tap.