Skip to content

Control dropdowns to limit icons to specific FA kit #54

@MartaMarkow

Description

@MartaMarkow

I'm using fa-icon-chooser to display our company's FA kit. I have a paid account, which allows me to limit the kit to 'Classic Solid' and 'Brands' - we don't use any other icon styles on our website. This kit's id as well as token are set in app's configuration.

When I added custom icon, I could see that dropdown 'Kit' was showing my custom icon. I believe that this confirms that kit token is used.

The problem is that the icon picker in our app still shows all possible dropdowns, ie Duotone etc, and more styles for Classic icons like Classic Thin or Classic Light.

I tested 'Subset' setting on the kit. I changed it from Automatic to Custom Subsetting, but it didn't have any impact on dropdowns. Even though my Kit had only 8 icons enabled from Classic Solid, fa-icon-chooser showed all icons. Custom Subsetting isn't our intention at all, but it was worth a test.

How do I limit dropdowns in fa-icon-chooser to kit's styles only? I don't want users to accidentally select icon that isn't then supported in the frontend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions