p-menuitem onclick not working

jQuery UI Widgets
Post Reply
User avatar
jconner
Posts: 12
Joined: 07 Jun 2013, 19:07

09 Oct 2017, 19:22

onclick for the menuitem does not seem to work. Is this a bug or am I not doing something correctly? The documentation of menuitem doesnt have any examples. Here is an example of the behavior.

https://codepen.io/anon/pen/MEVNVe?editors=1001

In my example the button works but the menuitem does not.


EDIT: This behavior only occurs when using PrimeElements, when using NON-PrimeElements it works

https://codepen.io/anon/pen/PJeYOP?editors=1001
Primefaces: 6.1.7
Wildfly: 10.1.0

User avatar
optimus.prime
Prime
Posts: 17685
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

27 Oct 2017, 17:47

Sorry, PrimeElements will be removed in upcoming PrimeUI 5.0 as we'll create a new suite of true web components based on StencilJS or Polymer.

douglaspolisoftware
Posts: 2
Joined: 27 Nov 2014, 19:14

30 Oct 2017, 14:28

optimus.prime wrote:
27 Oct 2017, 17:47
Sorry, PrimeElements will be removed in upcoming PrimeUI 5.0 as we'll create a new suite of true web components based on StencilJS or Polymer.
PrimeUI 5.0 still use Jquery as a base?

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests