Open full view…

Date Picker not working

Thu, 03 Aug 2017 14:46:18 GMT

Hi, I am facing the following issue while using framework7 on a phonegap mobile application: 1. When I click on the date field first time it opens up a date picker 2. However, the date picker doesnt work the second time , If i go to another page in the app and then then come back to this page by clicking on the page link 3. But if i use the back button to go to the page where it worked the first time, it does work. HTML: <li> <div class=“item-content”> <div class=“item-inner”> <div class=“item-input”> <input type=“text” placeholder=“Your birth date” readonly id=“calendar-default”> </div></div></div> </li> JS: function binddate(){ $$('#calendar-default').on('click', function(){ var calendarDefault = myApp.calendar({ input: ‘#calendar-default’, }); }); } I am calling binddate() on page-init . Has anyone faced this issue?

Mon, 09 Oct 2017 19:51:21 GMT

in myApp.js set domCache: false