Hi there, I am building a site and was testing out a toggle feature in a blueprint & in the panel – however it seems to have thrown an error in the cms?
The error I get is:
Missing argument 1 for Kirby\Panel\Models\Page::toggle(), called in […]/site/panel/app/src/panel/models/page/changes.php on line 71 and defined
I have since removed the toggle field from my blueprint however it is still throwing the error? I don’t really know how this is possible or how to fix it
My current blueprint is:
title: Full Text
icon: text-width
pages: false
files: false
options:
template: false
url: false
preview: false
fields:
title:
label: Title
required: true
type: text
text:
label: Text
required: true
type: textarea
required: true
icon: align-left
And the toggle aspect I added which broke the panel page was:
toggle:
label: Invert colours?
type: toggle
text: yes/no
I am running Kirby 2.4.1