I am building a Capacitor Framework 7 application. For some reason dynamic dmx data and functions do not work in the content pages I create, only on the index page.
Here is an example content page, in which the dynamic data {{data}} shows up as plaintext on the page instead of dynamic content. Same goes for if i try to populate a div with dmx-bind:title="data", or use any dmx function for that matter.
Thats the thing, I tried putting API Actions in content pages but they never trigger.
I tried using buttons to trigger them, does not work. I even added a simple JS function at the bottom of the file and run it on button press using a page flow, but still nothing. But it worked on the index page.
The API Actions wont even trigger if I have autoload on.
To try and isolate the issue I downloaded the Kitchen Sink F7 template in Wappler and the same issue persisits. If I add App Connect to the index page it gets initialized correctly and I can use AC functions inside the index.html file.
However when trying to use any App Connect functionality in any other sub-page, by including or excluding it in Wappler include in the application, it does nothing. Even though we should expect routing to be correctly set up for the application.
The API Actions, Stores etc. have not been an issue. The issue was that on the content pages App Connect was not initiated at all and therefore it couldn't be used, regardless of if the API Actions were correctly placed or not.
When trying to use things like dmx:text it wouldnt even attempt to populate the text, since App Connect was not loaded to begin with.
The solution I posted mounts AC to content-pages and therefore I can use all AC functionality.
Are you entirely sure that both (index.html and the content page) has framework7 v8 as framework?
Could it be that some old framework7 file (like v6) is still present onhead tags of index.html?
I have a serious doubt about that app.js always thought it was replaced by dmxFramework7_8.js