You’ve run into a big Bubble limitation which is that we can’t create non-data type objects in custom states / create things on the front end only.

There’ll be other solutions proposed by others that might be better than what I can come up with off the top of my head:

I think you’ll have to settle for having two lists of texts. One for keys, one for values. Make sure they’re all unique, some way or another.

To display all key/value pairs e.g in a JSON, run :format as text on a list of numbers. The list of numbers should equal the number of pairs you have. Inside :format as text, {keys: item#This number:formatted as JSON safe, values:item# This number:formatted as JSON safe}.

That has challenges (the keys and values must be in the same order) but you might be able to make it work.

2 Likes