You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the issue/feature:
Maybe there is a way of doing this already but I haven't found it yet.
A new property for CategoryItem, startChecked.
With the purpose of allowing the developer to get all/some of the cookie categories checked and allow the users to uncheck them if they wish to. As opposed to how it behaves now.
Right now it appears to only "pre" check the mandatory categories, which is great, but it would be good to have the option to pre-check optional categories as well.
Regards
The text was updated successfully, but these errors were encountered:
checamon
changed the title
#feature "startChecked" new property for CategoryItem
@feature "startChecked" new property for CategoryItem
Jan 12, 2023
I didn't include that feature, because it's not really nice for the user to actively uncheck things he/she doesn't want.
However, it would be awesome, if you create a PR for that.
From what I see, we might need to extend the type CategoryItem with isPreselected or something. Also extend that filter function with the new attribute.
Node/npm version(s):
8.19.2
Package(s) version(s):
3.0.1 (React)
Browser(s) version(s):
Version 1.46.153 Chromium: 108.0.5359.128 (Official Build) (64-bit)
Description of the issue/feature:
Maybe there is a way of doing this already but I haven't found it yet.
A new property for CategoryItem, startChecked.
With the purpose of allowing the developer to get all/some of the cookie categories checked and allow the users to uncheck them if they wish to. As opposed to how it behaves now.
Right now it appears to only "pre" check the mandatory categories, which is great, but it would be good to have the option to pre-check optional categories as well.
Regards
The text was updated successfully, but these errors were encountered: