primeng icon indicating copy to clipboard operation
primeng copied to clipboard

AutoComplete doesn't show suggestion when typing the same first letter to another dynamic autocomplete

Open mengullojerome opened this issue 9 years ago • 1 comments

There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours

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

Scenario: There are p-autoComplete components that are dynamically added to a p-dataTable.

STEPS TO REPRODUCE

  1. Type 'a' in autocomplete input. A list of suggestions should appear.
  2. Select any of the suggestions.
  3. Choose a different p-autoComplete and type 'a' once again.

Current behavior Nothing is shown. (Though logging the suggestions list shows that there are items in the suggestions)

Expected behavior Autocomplete should show the suggestions dropdown.

Please tell us about your environment:

OS: Windows 7

Angular version: 2.3.1

PrimeNG version: 2.0.2

Browser: Chrome

Language: TypeScript 2.0.3

Node (for AoT issues): node --version = 6.0.42

mengullojerome avatar Sep 08 '17 14:09 mengullojerome

Unable to replicate, please provide a test case based on plunkr below and we'll review again.

http://plnkr.co/edit/6q5v84DWolH6DeAdi70w?p=info

cagataycivici avatar Oct 20 '17 11:10 cagataycivici