getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.32k stars 168 forks source link

[3.6.0-alpha.3] InvalidArgumentException: Panel area "todos" must be defined as a Closure #3617

Closed afbora closed 3 years ago

afbora commented 3 years ago

Describe the bug

https://getkirby.com/releases/3.6/fiber/dropdowns#in-your-plugin

I've tried fiber dropdowns like example in plugin:

InvalidArgumentException: Panel area "todos" must be defined as a Closure

Kirby Version

3.6.0-alpha.3

afbora commented 3 years ago

I guess it's an error with the definition in this example. I think I figured it out in this PR: https://github.com/getkirby/getkirby.com/pull/1454

bastianallgeier commented 3 years ago

Yep, it's not a bug itself but a bug in the docs. Your PR is correct.