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 and IconField: allow using iconField with AutoComplete to show icons in Input #16333

Open
B34v0n opened this issue Sep 3, 2024 · 0 comments
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Milestone

Comments

@B34v0n
Copy link

B34v0n commented Sep 3, 2024

Describe the bug

With the IconField-Component one can set an Icon to an Input-Field.
That is not possible, if there is an autocomplete instead of an input field.
They both look exactly the same for the user, so it would be just logical to be able to use the IconField with an AutoComplete-Field.

Environment

All environments

Reproducer

https://stackblitz.com/edit/github-o8ncxg

Angular version

18.2.2

PrimeNG version

17.18.9

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.16.0

Browser(s)

No response

Steps to reproduce the behavior

In the linked Stackblitz you can see, that the autocompleter does not contain the Icon, which the inputText contains,
even though both of them are in the IconField-Component.

Expected behavior

The Autocompleter should contain the Icon, when I put it in the IconField-Component.

@B34v0n B34v0n added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 3, 2024
@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 4, 2024
@mertsincan mertsincan added this to the 17.18.13 milestone Dec 4, 2024
@mertsincan mertsincan modified the milestones: 17.18.13, 17.x Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
Status: No status
Development

No branches or pull requests

2 participants