Hi :
I upgraded from primeng 4.0.1 to 4.1.0-rc3 because I need fileupload's custom upload that was implemented in 4.1
Now, I'm getting multiple errors like this :
Property 'eventEmitter' does not exist on type 'MenuItem'
in app.menu.component.ts
Can yoy help me?
Thanks
MenuItem.EventEmitter
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Hi,
We will update all layouts to the latest versions of angular (4.2.x) and primeng (4.1.x) very soon.
Regards
We will update all layouts to the latest versions of angular (4.2.x) and primeng (4.1.x) very soon.
Regards
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, next week, layouts will be updated for 4.1.0 compatibility. To avoid waiting, itemClick function at app.menu.component would be;
only change is the item.command handling.
Code: Select all
itemClick(event: Event, item: MenuItem, index: number) {
//avoid processing disabled items
if(item.disabled) {
event.preventDefault();
return true;
}
//activate current item and deactivate active sibling if any
this.activeIndex = (this.activeIndex === index) ? null : index;
//execute command
if(item.command) {
item.command({
originalEvent: event,
item: item
});
}
//prevent hash change
if(item.items || (!item.url && !item.routerLink)) {
event.preventDefault();
}
//hide menu
if(!item.items) {
if(this.app.isHorizontal())
this.app.resetMenu = true;
else
this.app.resetMenu = false;
this.app.overlayMenuActive = false;
this.app.staticMenuMobileActive = false;
}
}
-
- Posts: 11
- Joined: 02 May 2017, 23:46
We purchased Ultima theme for our organization . After upgrading it to Ultima from the basic theme many accessibility features stopped working. For example Changing the tabs is not accessible by keyboard.
Also wanted to know how you are going to inform all the customers when you change layouts to the newer versions ? are we going to get the latest zip file ?
Also wanted to know how you are going to inform all the customers when you change layouts to the newer versions ? are we going to get the latest zip file ?
We will announce it from ultima-ng page we have a migration guide in documentations section.
Regards
Regards
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests