Get a peek at our latest innovations at Sanity Product Day on Dec 8th →

How to Add an Array to a Block Elements

1 replies
Last updated: Apr 19, 2021

Is there anyway to add an array to a block element? I get an error saying

multidimensional arrays are not currently supported by Sanity
but I’m pretty sure I’ve done it before 🤔

Apr 19, 2021, 4:01 PM

There will need to be an object in-between . So an array in an object in an array.

Apr 19, 2021, 4:02 PM Get the most out of your content is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Free to get started, and pay-as-you-go on all plans. Find out more.