Skip to content

KeyFilter: No longer working on chips component #15531

@ethanolree

Description

@ethanolree

Describe the bug

Previously, the keyFilter directive worked fine with the chips component, however, with a recent change, it no longer works correctly.

image
With this addition, the nativeElement.value is undefined so when an attempt to validate the input is made, it's validating on the string 'undefined' + cc

Environment

PrimeNG

Reproducer

No response

Angular version

17.13.1

PrimeNG version

17.15.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

I should be able to use the keyFilter on the chips input component

Metadata

Metadata

Labels

LTS-PORTABLEIssue's fix will be ported to supported LTS versionsType: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions