How to pass through multiple (custom) input texts via field?

I have a field for one of my plugin’s actions called ID Attribute (type text).

I want whoever installs the plugin to be able to pass through multiple texts (like below).

Screenshot 2023-02-13 at 20.14.02

I thought bubble might treat multiple texts as an array, but that doesn’t seem to be the case. The below code triggers an error:
Screenshot 2023-02-13 at 20.15.45

I then thought ticking the “Is a list” checkbox in the plugin builder might do the trick. But that doesn’t allow for users to input their own values.

What’s the best way to allow users to use multiple custom texts as inputs?

If you want a list of text you should use a text field with “is a list” checked. The user can add a list of texts.

If you prefer that the user input a single text made of values separated by , then use a field of type text and handle/validate it in your plugin code

1 Like

Thanks @dorilama ! You pointed me in the right direction - it was my javascript that was off :slight_smile:

1 Like