I’m making a panel with file upload to the site.yml
so my setup looks like this: in the site.yml
Then I have the file it extends - columns/only-files.yml
Now when I open this tab I get the following error:
this.options is undefined
As you can see my main bar section is loaded, but the files section is empty
The weird thing is this worked for me ok last week, since I added some plugins, but I don’t understand how they’d affect this, also I removed them from the plugins directory to see if it’d change anything and it didn’t
Your indentation looks wrong:
sadly its only wrong here when copy and pasting - fixed it on the post
Hm, I wonder if the problem is that you are in fact using the same column names within the same tab? At least something seems weird or a key for the other tab missing?
On a side note: To make everyone’s life here easier, please wrap code blocks within three backticks on a new line before and after a code block. Thanks.
yea, I guess it was that.
I have another tab there:
label: Scripts and Styles
And I was trying to iverwrite the files into a different section, and that was causing it. so I understand from that that the section name is meaningful in some way?
anyway, I resolved it by creating a different columns section for that one.