JavaScript errors with existing Framework7 project (part 2)

Carrying on from my last bug post, I’m getting different errors when I go to a page that uses Framework7’s toggle components.

image

The browser console doesn’t tell me exactly which line of code in my app is triggering all the errors. If I could narrow it down to a function I would paste it in here. If the Wappler team wants to see my www folder I’d need to email it to you privately.

App Connect Framework7 plugin
Version: 1.1.1
@build 2021-03-22 14:11:28

Here an update.

dmxFramework7.zip (3.8 KB)

Thanks Patrick. The first error is different now while the second error is the same as before.

Do you use toggle-init class on the toggles?

Yes I did.

<label class="toggle toggle-init color-red">
<input type="checkbox" checked value="1" id="pushForMyAlerts" />
<span class="toggle-icon"></span>
</label>

Has that been depreciated from F7 or is it a glitch with Wappler?

We made the toggle also as an app connect component, that probably causes some conflict. Will investigate this and post here an update as soon as I have one.

Here an update.

dmxFramework7.zip (3.8 KB)

Yay! :heart_eyes:

I hope you didn’t spend all evening working on the fix? Thanks for taking care of it so quickly.