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

Conditionals within the Hyper field layout doesn't work #230

Closed
cookie10codes opened this issue Feb 12, 2025 · 1 comment
Closed

Conditionals within the Hyper field layout doesn't work #230

cookie10codes opened this issue Feb 12, 2025 · 1 comment

Comments

@cookie10codes
Copy link

Describe the bug

Adding conditionals to the fields in the content, doesn't apply when being selected.

For example, I have a lightswitch, 4 fields have a conditional if the lightswitch is on it should be visible. This doesn't work, only when I save the entry, the field shows.

Steps to reproduce

  1. Add a lightswitch
  2. Add a conditional to a field with lightswitch on
  3. Switch the lightswitch on
  4. Field doesn't show
  5. Save the page
  6. Field shows

Craft CMS version

Craft Team 5.6.5.1

Plugin version

2.2.3

Multi-site?

No

Additional context

No response

@engram-design
Copy link
Member

engram-design commented Feb 13, 2025

It's a limitation of us using Vue for Hyper, see #225 and verbb/vizy#64 for a similar situation with Vizy. No plans to implement this as it's an incredible amount of work to handle things, but we're looking into options on how to handle it (ditch Vue, build a solution ourselves, black magic, etc).

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