Here's an example of what I'd love. tiles: {
type: ControlType.Array,
control: {
type: ControlType.Object,
controls: {
title: { type: ControlType.String },
contentImage: {
type: ControlType.Image,
},
useImageUrl: {
title: "Use Image Url",
type: ControlType.Boolean,
defaultValue: false,
},
imageUrl: {
title: "Image Url",
type: ControlType.String,
defaultValue:
hidden(props) {
return props.useImageUrl === true
},
},
},
},