Topic: Angular Admin template pro: Tags, labels & badges broken on clean install

Benny Bottema pro asked 6 years ago


The demo page "MDB – Angular Admin Dashboard 5.0.0 -> Components -> Tags, labels & badges" is broken on a clean npm install. The input is giving errors.

Anyway the build is broken out-of-the-box, but if you fix the @agm/core library and do a clean npm install, the result is the following error when visiting the badges demo (and indeed when using it manually):

TagsComponent.html:30 ERROR TypeError: dir.valueAccessor.registerOnChange is not a function
at setUpViewChangePipeline (forms.js:2304)
at setUpControl (forms.js:2261)
at NgModel._setUpStandalone (forms.js:6150)
at NgModel._setUpControl (forms.js:6119)
at NgModel.ngOnChanges (forms.js:6047)
at checkAndUpdateDirectiveInline (core.js:12091)
at checkAndUpdateNodeInline (core.js:13597)
at checkAndUpdateNode (core.js:13540)
at debugCheckAndUpdateNode (core.js:14412)
at debugCheckDirectivesFn (core.js:14353)


Benny Bottema pro answered 6 years ago


I'm unable to download a newer version of the templates (in downloads it's still 5.0.0), but I managed to fix this by manually updating only the MaterialChipsComponent file included in the pre-packages MDB version of the template, with the newer version from the MDB 5.1.1 package. I simply copied the contents from MDB 5.1.1 to the packages version from the 5.0.0 template. It works now.

Hi, I have a pro license. I see links to the demo of the pro admin dashboards, but I don't see how to access the source of all these templates (ng-admin-pro admin template, dashboards, etc...) Can you please point to me to the documentation where this is all explained? Thank you.

alain.deurveilher@gmail.com pro commented 6 years ago

Replying to myself. OK, I think I understood. There are actually 2 different package we can purchase: - MDB Pro - MDB Template Pro I have a license for MDB Pro only, not the MDB Template Pro. I suppose I have to buy it as well if I want to have access to the admin templates

Damian Gemza staff answered 6 years ago


Hello again Benny, Today we will put an update for Admin Dashboard. After we update it, you would download new version of Admin Dashboard, and test our fixes. I tried to reproduce your's case, but i wasn't able to make it. After update you can test our application one more time, and check if errors still occurs. Best Regards, Damian

Benny Bottema pro commented 6 years ago

I guess you didn't update the templates yet? In downloads it still shows as 5.0.0


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags