Hi, there I’ve implemented the new nice but “slow” Table layout into my panel, and added into the layout some radio button fields like for me “Home” and “Link” ON/OFF
If I switched ON the “Home” and OFF the “Link” for example within the Table layout, the changes are not saved? Why?
Check this video:
The blueprint looks like this in the “work.yml”
homepage:
type: fields
fields:
homepage_visible: # previously 'showcase'
label: Homepage visible
help: Le projet est-il **visible** sur la home ?
type: toggle
icon: home
width: 1/4
default: false
translate: false
homepage_link: # previously 'slideshow_toggle'
label: Homepage link
help: Le projet est-il **cliquable** ?
type: toggle
icon: url
width: 1/4
default: false
translate: false
and like this in the table layout yaml:
works_all:
label: All (table)
icon: draft
columns:
- width: 1/1
sections:
all:
label: Works All
type: pages
batch: true
rawvalues: false
status: all
templates: work
limit: 20
layout: table
columns:
info: false
client: true
date:
type: text
value: '{{ page.date.toDate("Y") }}'
width: 3/24
# designers:
# type: tags
# width: 1/12
# work_field:
# label: Domaines
# type: tags
# categories:
# label: Categories
# value: '{{ page.category_print }} {{ page.category_identity }} {{ page.category_digital }} {{ page.category_signage }} {{ page.category_image }}'
# type: tags
homepage_visible:
label: Home
width: 2/16
type: toggle
homepage_link:
label: Link
width: 2/16
type: toggle
case_study_ready:
label: Case study
width: 2/16
type: toggle
Many thanks