p-chips: [addOnTab] feature has no effect. Tab key should make a chip and keep focus in the text box. #14706
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
In the
<p-chips>
element, there is an @input() property calledaddOnTab
. This property does nothing when the tab key is pressed, and is not referenced anywhere in the PrimeNGchips.ts
code.Environment
Windows 10
Reproducer
https://stackblitz.com/edit/github-mxeong?file=src%2Fapp%2Fapp.component.html
Angular version
17.1.1
PrimeNG version
17.5.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.1
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
When
addOnTab="true"
, pressing the tab key should create a new chip with the entered value and keep the focus within the text field for the next chip to be created, just like how the enter key works.This behavior works perfectly in PrimeNG 16.0.2.
The text was updated successfully, but these errors were encountered: