Topic: Console Errors/Warnings from MDBVue Nav components since update

londoh pro asked 4 years ago

Expected behavior Nothing changed in code so should be no console errors

Actual behavior Nothing changed in my code but I have lots of errors in console Resources (screenshots, code snippets etc.)

I'm running mdbvue 6.2 under vue 2.6.11 I ran update sometime in the past week or so, and since then I have lots of errors showing up in console comin from MDBVue Nav components:

[Vue warn]: The .native modifier for v-on is only valid on components but it was used on <li>.

found in

---> <MdbDropdown>
           <MdbTree> at resources/js/components/nav/MdbTree.vue

nothing changed in my code in that time to cause this, and I have no .native modifier

I found this relevant issue reported on vuejs github:

and a similar report on vuetifyjs:

as reported on vuejs issue I see these as errors not warnings.

Is this something mdb team needs to address - or is it a vue issue?

Is there a workaround?

Happy New Year!


Magdalena Dembna staff answered 4 years ago

MDB Vue 6.2.0 was built on Vue 2.6.10 - since Vue 2.6.11 additional console errors are shown (because of .native usage on some of our elements). We have bumped Vue version and fixed those issues - the next release (20.01.2010) will contain all changes necessary for Vue 2.6.11. Kind regards, Magdalena

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.2.0
  • Device: any
  • Browser: all
  • OS: n/a
  • Provided sample code: No
  • Provided link: Yes