Thanks @stormvision but unfortunately Wappler adds the defer attribute back in on save… @george could you (or one of the team) please look into this?
Just to be clear, it is both the defer attribute causing problems but the script/css links for things like list views aren’t being added automatically either.
Yes, I forgot to address this issue in my post (but did it in Calendar not show after update).
It should be fixed by the Wappler team and my workaround until then is to save the js file with an external editor.
I appreciate it works here and there, but this is an actively developed project and I can’t afford the time to have to manually open the file in an external editor every time I hit save.
@george just in case it is specific to Cordova - I’ve been using it recently on a Cordova app. Add the calendar, add list view - the includes for the list view aren’t added to the head page and even if added manually something goes wrong without removing the defer attribute on the core full calendar bit
I’m not able to test 5.2.1 for a couple of days but its not just the ordering of resources…
Did you add the includes for modules like list view to the includes? Selecting them in the calendar’s options didn’t add the necessary lines to the head of the layout page previously
Did it change in 5.2.1? (which I can’t update to until the option to keep date behaviours the same has been added) As of 5.2.0 the includes for list views were not being added and I didn’t see anything in the release notes to fix it…
Create a simple page and added calendar. This is the head of the layout:
For me the Update to 5.2.1 doesn’t make any difference (btw: I’m also working with Cordova).
The “defer” is always automatically added and the calendars and lists don’t work. When I remove it (with an external editor save), everything is fine again.