I’m new to bubble.io, searched here and couldn’t find an answer. I’m wondering if it’s possible to create a nested object of data using the bubble database.
For example, if I had a data type called Recipes. I would want to create a list of instructions by having a field called “instruction items” that would be an object/list with multiple fields per item within the list.
For example:
Instruction Item (field type: text, list of items)
Name (field type: text)
Duration (field type: text)
Instruction Item (field type: text, list of items)
Name (field type: text)
Duration (field type: text)
Is my question clear? Is this possible with the Bubble database? If not, is there a better way to use this? Via API call?
You may want to recheck the tutorials for how to set up “Custom” field types.
In your case you would create a Data Type called “Recipe” and also one called “Instruction”.
Then on Recipe you have a field called “List of Instructions” (or whatever you want) and set THAT field type to be “Instruction” and tick the “is a list” box.
Instruction will then have two fields (name/duration) and you might want a step number to sort it.
It will be far far easier to do it “the Bubble way” than lists of texts.