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

Control dropdowns to limit icons to specific FA kit #54

Open
MartaMarkow opened this issue Sep 12, 2024 · 0 comments
Open

Control dropdowns to limit icons to specific FA kit #54

MartaMarkow opened this issue Sep 12, 2024 · 0 comments

Comments

@MartaMarkow
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant