I am trying to conditionally display fields in the panel, depending on what checkboxes are checked in another field. This is what I have:
productOptions: label: Product options type: checkboxes required: true columns: 2 options: physical: Physical digital: Digital physicalPrice: label: Physical price type: number steps: 0.01 before: £ when: productOptions: physical digitalPrice: label: Digital price type: number steps: 0.01 before: £ when: productOptions: digital
But this isn’t working - the price fields are not appearing when the checkboxes are checked. Is a different approach needed for checkboxes? The client needs to be able to choose either physical or digital, or both.