We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The onAccept callbacks should be triggered for all services, including Personio, when the user accepts the corresponding category/service.
The onAccept callbacks are triggered for YouTube and Vimeo services, but not for the Personio service.
Set up a web application with my categories/services functionality.
Here are my categories/services.
categories: { necessary: { readOnly: true, enabled: true, }, videos: { services: { youtube: { label: 'Youtube Embed', onAccept: () => { console.log('accept youtube'); } }, vimeo: { label: 'Vimeo Embed', onAccept: () => { console.log('accept vimeo'); } }, }, }, personio: { label: 'Personio', onAccept: () => { console.log('accept personio'); } } },
No response
3.0.0
Chrome
The text was updated successfully, but these errors were encountered:
You have declared personio outside services, as a category: [necessary, videos, personio]
[necessary, videos, personio]
Sorry, something went wrong.
I would like it to be visually and functionally like this!
If I only have one service, then the following doesn't make sense, right? Or am I misunderstanding something?
Am I correct in understanding that categories themselves don't have callbacks? Thank you!
Okay, I'm now solving it through the CookieConsent onChange callback!
onChange: ({ cookie, changedCategories, changedServices }) => { if (cookie.categories.includes('personio')) { im.acceptService('personio'); } else { im.rejectService('personio') } },
Thank you very much for this first-class consent management tool!
No branches or pull requests
Expected Behavior
The onAccept callbacks should be triggered for all services, including Personio, when the user accepts the corresponding category/service.
Current Behavior
The onAccept callbacks are triggered for YouTube and Vimeo services, but not for the Personio service.
Steps to reproduce
Set up a web application with my categories/services functionality.
Here are my categories/services.
Proposed fix or additional info.
No response
Version
3.0.0
On which browser do you see the issue?
Chrome
The text was updated successfully, but these errors were encountered: