I have a routable panel define in router.js as such:
{ path: '/panel/left/', panel: { component: PanelLeft, } },
The contents of the template for this panel is:
<template> <div class="panel panel-left panel-cover theme-dark"> <div class="page" data-name="test"> <div class="navbar"> <div class="navbar-bg"></div> <div class="navbar-inner sliding"> <div class="title">TEST</div> </div> </div> <div class="page-content"> <form class="list form-store-data" id="my-form"> .... (= the example form from the docs page)
The main page (app.f7.html) is defined as:
<template> <div id="app"> <!-- Statusbar --> <div class="statusbar"></div> <!-- Main view --> <div class="view view-main view-init" id="view-main" data-url="/"></div> </div> </template>
The panel opens correctly, but data is not saved into the local storage. If I place all code into the main page it works, so it’s definitely related to use of routable panel. Any idea how I can get this to work?