mdb-alert error when initialize


Topic: mdb-alert error when initialize

ozgehan pro premium asked 5 years ago

Hi, I am using mdb-alert to show error and success messages to user. I guess there are new properties came with 6.0.0 version. now when I use mdb-alert it gives these errors.

[Vue warn]: Invalid prop: type check failed for prop "enterActiveClass". Expected String with value "animated,", got Array 

[Vue warn]: Invalid prop: type check failed for prop "leaveActiveClass". Expected String with value "animated,", got Array

my only code is

<mdb-alert  color="primary"></mdb-alert>

P.S : in api documentation there are various character errors such as in enterAnimation => enterAnimatrion or dismiss => dissmiss etc.

Thanks,


Magdalena Dembna staff premium answered 5 years ago

Import of the Notify in your main.js file is slightly different:

import Notify from 'mdbvue/lib/components/Notify';
Vue.use(Notify);

or

  import { Notify } from 'mdbvue';
  Vue.use(Notify);

Thank you for drawing our attention to those typos - we will sort it out as soon as possible. Let me know if this change in main.js solves your problem. Kind regards, Magdalena


ozgehan pro premium answered 5 years ago

Unfortunately it didn't work out for me. I added notify in main.js but nothing has changed


Magdalena Dembna staff premium answered 5 years ago

We have found the bug which caused it. The issue will be fixed in MDB Vue 6.0.1 (release: upcoming Monday). Kind regards, Magdalena


ozgehan pro premium commented 5 years ago

Hi, Are there any changes about release date of 6.0.1 version ?


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.0.0
  • Device: computer
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No