Pages section with toggle column won't update the change

I have a pages section on my project page that shows all the children (projects). Each project has a toggle field called “featured”. I want the column to show in the overview so you’re able to see how many and what projects are featured.

The blueprint below shows that toggle as an editable toggle field in the table. However, toggling it, doesn’t update the project page (on reload it resets). Is one of these solutions possible:

  1. Update the child after a change is made in the overview
  2. Show the field but just show on or off without the ability to update the child after change.
projecten:
  type: pages
  status: listed
  layout: table
  columns:
    featured: true
  limit: 100
  image:
    query: page.thumbnail.toFile
    cover: true

Yes, that’s actually a bug, see Table layout pages section: interactive previews are not updating content · Issue #6582 · getkirby/kirby · GitHub. As a workaround, you can show the value as text (true/false), as mentioned in that issue. Don’t think there is an easy way to just show the disabled toggle, unless you create a custom preview for that field.

1 Like