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

Some icons are not displaying from PrimeIcons.js Api file #4897

Closed
benoit1521 opened this issue Nov 29, 2023 · 0 comments
Closed

Some icons are not displaying from PrimeIcons.js Api file #4897

benoit1521 opened this issue Nov 29, 2023 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@benoit1521
Copy link

benoit1521 commented Nov 29, 2023

Describe the bug

For a story, I want to display all the PrimeIcons.
here the sample of my code :

export const List: Story = {
    render: () => ({
        components: { AtomIcon, AtomCardBasic },
        data(): { items: (typeof PrimeIcons)[] } {
            return {
                items: Object.values(PrimeIcons),
            };
        },
        template: `
        <div class="grid grid-cols-4 gap-4">
            <div v-for="item in items" :key="item">
                <AtomCardBasic>
                    <template #content>
                        <div  class="flex flex-col items-center gap-4">
                            <AtomIcon :iconClass="item" :size="2"/>
                            {{ item }}
                        </div>
                    </template>
                </AtomCardBasic>
            </div>
        </div>`,
    }),
};

The problem is that some icons are not displayed, here is the list :

  • pi-sort-alpha-alt-down
  • pi-sort-alpha-alt-up
  • pi-sort-slash
  • pi-sort-down
  • pi-sort-numeric-alt-down
  • pi-sort-numeric-alt-up
  • pi-stop-watch

image

Reproducer

https://codesandbox.io/p/devbox/vigorous-banach-2rhdz4?file=%2Fsrc%2FApp.vue%3A12%2C12

PrimeVue version

3.39.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@benoit1521 benoit1521 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 29, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 30, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.43.0 milestone Nov 30, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants