Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Cannot add array entry in page template

Started by P. Fighter 8 years ago · 1 replies · 754 views
8 years ago

I've added an array field to a page blueprint, every time I try to add a key/value pair I get a 'Validation failed' error.

I also cannot add additional fields to the array when editing the page, before clicking save.

8 years ago

Turns out the problem was that I had removed the jQuery asset collection in system.yaml, causing the admin panel to simply fail loading jQuery.

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 310 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 264 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago