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
JavaEE: 8.0
Primefaces: 7.07
Wildfly-Swarm : 2018.5.0

cagatay.civici
Prime
Posts: 18616
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: 4
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

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest