primeng icon indicating copy to clipboard operation
primeng copied to clipboard

AutoComplete - Dropdown click does not invoke complete method

Open joerter opened this issue 9 years ago • 2 comments

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) http://plnkr.co/edit/whXw39tV90gtBJA6bDP1?p=preview

Current behavior When clicking the dropdown button, the method bound to the onCompleteMethod event is not called.

Expected behavior The method bound to the onCompleteMethod should be called, and the suggestions panel should display.

Minimal reproduction of the problem with instructions http://plnkr.co/edit/whXw39tV90gtBJA6bDP1?p=preview

  • Angular version: 4.2.6

  • PrimeNG version: 4.2.0

  • Browser: all

  • Language: Typescript

joerter avatar Oct 12 '17 18:10 joerter

After updating the Plunkr so that is uses PrimeNG 4.2.2, the dropdown works just fine without any further adjustments to your code :)

For the record: in PrimeNG version 4.1.X you had to call a separate event "onDropdownClick".

VNYoeri avatar Oct 13 '17 07:10 VNYoeri

Woops! Thank you, I'll close this now.

joerter avatar Oct 13 '17 14:10 joerter