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

How to disable switch if cookie required? #102

Open
comerc opened this issue Feb 23, 2024 · 1 comment
Open

How to disable switch if cookie required? #102

comerc opened this issue Feb 23, 2024 · 1 comment

Comments

@comerc
Copy link

comerc commented Feb 23, 2024

Screen Shot 2024-02-23 at 14 30 46
@tobias-kuendig
Copy link
Member

The switch is already disabled if the cookie group is required:

{{ group.required ? 'disabled' : '' }}

It must be always check in this case, otherwise it would not be activated.

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

2 participants