Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoComplete: selectedItemTemplate displays [Object object] #6633

Open
xAl3xFx opened this issue May 16, 2024 · 0 comments
Open

AutoComplete: selectedItemTemplate displays [Object object] #6633

xAl3xFx opened this issue May 16, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@xAl3xFx
Copy link

xAl3xFx commented May 16, 2024

Describe the bug

Having AutoComplete component with selectedItemTemplate which returns React.Node the displayed value is [Object object]

Reproducer

https://stackblitz.com/edit/k4e3ju?file=src%2FApp.jsx

PrimeReact version

10.6.5

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@xAl3xFx xAl3xFx added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant