![]() ![]() Just check the 'This state is a list' checkbox.Ī list created in a data type is stored in the database. To create a list in a custom state, we need to select an element (preferably the page itself) - and create a custom state on the page. Everyday use cases are for calculations, selection of items etc. It is not stored in the database, and the value is erased when you refresh the page. Typically we use a list in a custom state for temporary purposes. There are two ways you can create a list in Bubble To build a functionality similar to wishlists, likes, retweets etc., where the number of items can be thousands, use a different data type. So use lists only when you know the list size will be small. the list will start slowing things down once the total number of invoices goes beyond the number you actually want to display at any one time. If your list is short – you know you'll never have more than 20 - 30 invoices per company, for instance – then yes, using a list will load a little faster. However, you need to consider the use case of the list you create.Ī list is helpful when the number of items in the list won't be large. You can add/remove/clear the list just as you can with text values. So you can create a list of entries in another table/thing. It can either be a system one (User - you can have a list of Users who like your Blog Post) or one you created yourself. There is no way to associate more information with any item on the list.Ī more advanced list is created when the field type (so what you would typically have text, number, image) is configured to another data type. While they can store a list of items, they are basic. You can store a list of texts, images, files, dates, date ranges, data types, and option sets. Lists can also be a list of numbers, images, files, dates etc. So if your field's type is 'text', they can contain multiple text values - 'apple', 'banana', and 'cherry'. In layman's terms, they are just lists of values. They can be empty, have one entry, or have multiple entries. We'll then see how we can create a list and manipulate them. The two main aspects of them are creating and manipulating.įirst, let's understand what lists are in Bubble, how we can use them and when we should avoid them (according to Bubble's co-founder Josh). This Bubble tutorial will teach you how to work with lists. Lists are one of the main reasons why it is so. ![]()
0 Comments
Leave a Reply. |