swipe-card icon indicating copy to clipboard operation
swipe-card copied to clipboard

t.setConfig is not a function

Open mattbruman opened this issue 4 years ago • 7 comments

On version 4.0 and am getting this all the time, only way to clear it is to open lovelace editor move the tab its on left or right then move it back.

mattbruman avatar Dec 09 '20 14:12 mattbruman

I have the same issue. Reloading the page numerous times seems to "fix" the problem, but it still comes back...

Sha-Darim avatar Mar 07 '21 22:03 Sha-Darim

Same issue cannot even get this card to work using Home Assistant 2021.5.5 chunk.e176e418edcf4883a584.js:2544 card custom:swipe-card TypeError: t.setConfig is not a function at HTMLElement._createCardElement (swipe-card.js:38) at swipe-card.js:19 at Array.map () at HTMLElement.setConfig (swipe-card.js:19)

haywiremk avatar May 25 '21 16:05 haywiremk

FWIW I have this issue, but only when I set my "Mobile" Lovelace Dashboard containing the offending swipe-card to be the default on my mobile device.

anndrewww avatar Jul 07 '21 05:07 anndrewww

Any update on this? Great card, but this is happening often and seemingly randomly. Thanks.

ronschaeffer avatar Dec 08 '22 20:12 ronschaeffer

I have same trouble when I created 2 swipe card on same view. When I removed one of them. It's worked

caohuongls avatar Dec 29 '22 13:12 caohuongls

Error still present from iOS companion app and pc browsers (firefox/chrome). adding a new card and delete it right after seems is a workaround but doesn't solve it permanently.

GreeMart avatar May 26 '23 14:05 GreeMart

Error still present as of 16/09/24, please fix this :)

Marcus1410 avatar Sep 16 '24 20:09 Marcus1410