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

Component: p-inputGroup #14510

Closed
mcrightworks opened this issue Jan 8, 2024 · 1 comment
Closed

Component: p-inputGroup #14510

mcrightworks opened this issue Jan 8, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@mcrightworks
Copy link

mcrightworks commented Jan 8, 2024

Describe the bug

Icon is not showing for p-inputGroup, nor is class in v17 upgrade

<p-inputGroup>
     <input type="text" pInputText placeholder="Find help articles..." />
     <button type="button" pButton icon="pi pi-check" class="p-button-warning"></button>
     <!-- //testing to make sure it works standalone. -->
     <i class="pi pi-check"></i>  //this icon displays correctly.
   </p-inputGroup>

Environment

"dependencies": {
"@angular/animations": "^17.0.8",
"@angular/common": "^17.0.8",
"@angular/compiler": "^17.0.8",
"@angular/core": "^17.0.8",
"@angular/forms": "^17.0.8",
"@angular/platform-browser": "^17.0.8",
"@angular/platform-browser-dynamic": "^17.0.8",
"@angular/router": "^17.0.8",
"chart.js": "^4.4.1",
"primeflex": "^3.3.1",
"primeicons": "^6.0.1",
"primeng": "^17.3.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.2"
},

Reproducer

No response

Angular version

17.0.8

PrimeNG version

17.3.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

<p-inputGroup>
  <input type="text" pInputText placeholder="Find help articles..." />
  <button type="button" pButton icon="pi pi-check" class="p-button-warning"></button> //icon and class color not displaying
  <!-- //testing to make sure it works standalone. -->
  <i class="pi pi-check"></i>
</p-inputGroup>

Expected behavior

Icon should display with background color class.

@mcrightworks mcrightworks added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 8, 2024
@mcrightworks
Copy link
Author

was missing button module import, might want to add that to docs.

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