p-menuitem onclick not working
Posted: 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
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