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

The depth value in nav blueprint isn't being live updated #11378

Open
robdekort opened this issue Jan 22, 2025 · 0 comments
Open

The depth value in nav blueprint isn't being live updated #11378

robdekort opened this issue Jan 22, 2025 · 0 comments

Comments

@robdekort
Copy link
Contributor

robdekort commented Jan 22, 2025

Bug description

When you add/reorder nav items in the nav blueprint editor, the depth value isn't being live updated but only updated after a save + reload.

How to reproduce

  1. Add a field to your nav blueprint with the following condition:
-
  handle: render_as_button
  field:
    type: toggle
    display: 'Render as button'
    if:
      depth: 'equals 1'
  1. Add an item to your nav on the first level.
  2. See the toggle.
  3. Move the item to a second level.
  4. See the toggle
  5. Save
  6. Reload
  7. See the toggle is properly hidden.

Environment

Environment
Application Name: De Kinderacademie
Laravel Version: 11.38.2
PHP Version: 8.2.27
Composer Version: 2.8.4
Environment: local
Debug Mode: ENABLED
URL: dekinderacademie.test
Maintenance Mode: OFF
Timezone: Europe/Amsterdam
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Statamic
Addons: 4
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 5.45.2 PRO

Statamic Addons
studio1902/statamic-peak-browser-appearance: 3.6.0
studio1902/statamic-peak-commands: 8.15.1
studio1902/statamic-peak-seo: 8.19.0
studio1902/statamic-peak-tools: 6.7.1

Installation

Starter Kit using via CLI

Additional details

No response

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

No branches or pull requests

2 participants