mdb-alert error when initialize

web
mobile

Topic: mdb-alert error when initialize

ozgehan pro premium asked 5 months 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 months 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 months 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 months 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 months ago

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


Please insert min. 20 characters.
Status

Answered

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