0

In p-autocomplete list I want to disable keyevents on 2 items in the entire list of suggestions.

I am able to achieve mouse click using (click) and event.stoppropagation().

Antikhippe
  • 6,316
  • 2
  • 28
  • 43
Maurya
  • 39
  • 5

1 Answers1

-1

I did some research and I got the working solution for this - using (keydown) in pautocomplete tag worked.

on keydown event I wrote a method to check for particular values and cleared the content for selected value.

Maurya
  • 39
  • 5