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

Toast: Toast only takes pi icons #13915

Closed
SimonJ-DR opened this issue Oct 18, 2023 · 1 comment
Closed

Toast: Toast only takes pi icons #13915

SimonJ-DR opened this issue Oct 18, 2023 · 1 comment
Labels
Resolution: Wontfix Issue will not be fixed due to technical limitations

Comments

@SimonJ-DR
Copy link
Contributor

Describe the bug

https://github.com/primefaces/primeng/blob/master/src/app/components/toast/toast.ts#L55

This line prevents font awesome icons from working. (The 'pi' class)

Environment

Unrelated

Reproducer

No response

Angular version

16.2.9

PrimeNG version

16.5.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.5.1

Browser(s)

No response

Steps to reproduce the behavior

  1. add toast
  2. enter fa icon
  3. look

Expected behavior

Custom icons to be allowed

@SimonJ-DR SimonJ-DR added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 18, 2023
@cetincakiroglu
Copy link
Contributor

Hi,

You can use headless template option and customize the everything in the toast as you wish.

@cetincakiroglu cetincakiroglu added Resolution: Wontfix Issue will not be fixed due to technical limitations 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 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Wontfix Issue will not be fixed due to technical limitations
Projects
None yet
Development

No branches or pull requests

2 participants