B4J Question [BANanoVuetifyAD3] New Project - Where did the title go? [SOLVED]

Star-Dust

Expert
Licensed User
Longtime User
I have opened a new project.




Without touching the code, I start the compilation and open the page .... Oops ... the title is missing ..

Why does apptitle appear to me?
It seems that the assignment of the value to the variable does not work




 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
I moved vuetify.SetData('apptitle', Main.AppTitle) inside the onmounted sub of pgIndex and it works

But it is not the original source.

Has something changed? Do you need to change the template?

B4X:
Sub onmounted
    'clear the drawer
    drwlist.ClearOnApp(vuetify)
    drwlist.AddHeader("Enhanced Design System")
    drwlist.AddItem("", "home", "mdi-home", "green", "Home", "/")
    drwlist.AddItem("", "one", "mdi-access-point-check", "orange", "One", "/one")
    drwlist.AddItem("", "two", "mdi-silverware", "brown", "Two", "/two")
    'refresh the drawer
    drwlist.RefreshOnApp(vuetify)
    vuetify.SetData("apptitle", Main.AppTitle)
End Sub
 
Upvote 0

Mashiane

Expert
Licensed User
Longtime User
The template just needs to be updated to be fully compatible with BVAD3 6.05, its still old and as you might have noticed has BindState calls, which are no longer necessary.
The templates have been updated. These include a blank project, a 3 pager template with a Leaflet map and also additional class modules for a page and a CRUD page.

More is coming.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…