builder
builder copied to clipboard
How to give just simple array as prop
Describe the bug Hi, first of all i am using nuxt. it is not a bug but i have an image array something like this
['imagepath1''imagepath2']
i want props in this format but when i select 'list' type it forces me to make array object. Cant i make just an array which users can selects multiple images from editor?
Screenshots
must i do [ { image: 'imagepath1' }, { image: 'imagepath2' }, ]
something like this?
@Ischafak yes, you are correct, it will be a list in that format if you want to have the input be of image type. For more information on input types, please see this documentation: https://www.builder.io/c/docs/custom-components-input-types