event is undefined in Listbox multiple checkbox select #1887

algirdasc opened this Issue Jan 23, 2017 · 0 comments


None yet

2 participants


I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.


Current behavior
Trying to select any option with checkbox exception is thrown:
Error in ./Listbox class Listbox - inline template:20:20 caused by: event is not defined

Expected behavior
Option and checkbox should be selected

In components/listbox/listbox.ts, line 36 function onCheckboxClick() is missing $event parameter as well as same file, line 299 function does not have event parameter, making event variable in line 313 undefined.

@cagataycivici cagataycivici self-assigned this Jan 27, 2017
@cagataycivici cagataycivici added this to the 2.0-RC2 milestone Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment