[RELEASED] Selectize dropdown

Hi @Jici,

In the Initial Values field, the plugin only displays the first item even if there multiple in the default list.

@muneer.hameer You need to use :join with , (comma, or another separator if you choose to modify the default one)

That worked. Thanks for the quick response.

1 Like

Hi @Jici / All – Happy New Year! Quick question – how can I make the Selectize DD fields mandatory? I.e. the equivalent of “This input should not be empty” on standard input fields? Many thanks!

Regards, Stuart

Hi!
In plugins (not bubble plugins) there’s no way to have directly the same behavior. You need to use conditional with : Selectize All value : count > 0

Hi @Jici,

I’m trying to use your selectize dropdown to search Spotify’s API based on the value typed in. How would I be able to accomplish this? I’ve tried utilizing the dropdown’s Searched Value, but that doesn’t seem to work.

Additionally, I’m trying to use the additional HTML feature to display track covers in the dropdown. Still, it doesn’t seem like the plugin is giving me the option to select a track cover (maybe it’s because it’s a list of images?)

@johnny It should work with the searched value but may create a warning from Bubble. Can you share what you have set?
I take a short look at API Doc and you are probably right that you will reach a limit with the cover that is a list inside another list.

It could be better to talk together to generate a specific version for spotify based on selectize. Send me a PM if you are interested

Will PM you!

1 Like

Hi @Jici, I recently started using the plugin and I’ve found it amazing, except that I’m finding a couple of things not working as expected.

  • 1st - When setting the dynamic list source conditionally, nothing happens, apparently it will only take the list it was passed when initialized, and this happens well before bubble checks for conditionals.

  • 2nd - When setting the Max Items to an input’s value or trying to change it via conditionals does nothing and set no limit.

Hope these are easy fixes.

Hi!
For 1: did you activate the auto-refresh checkbox?
For 2: It’s not an actual feature but a new update is coming this week. I will check if I can add this.

1 Like

I’m having the same issue (#1), cannot get values from one dropdown to filter the options in another.

Got two dropdowns, both with the auto-refresh checkbox clicked.

Dropdown 1: Category
Dropdown 2: Type

  • Once category is selected (e.g. “Books”), I want the options in dropdown 2 to filter to only show options that are relevant (e.g. “Fiction”, “Drama”).

  • Whereas if I select e.g. “Sports”, then the options in dropdown 2 should be “Soccer”, “Handball” etc.

However, when I select an option in category, the list is just blank in dropdown 2.

Hi!
Can you share your settings? (PM) did you activate auto-refresh?

Hey @Jici

I’m using a static list generated by some javascript, as the list itself will have a range of different values depending on the scenario.

With a dynamic list, you can create different ID and Value fields, as well as choosing which field to serch on. Is there a way to create a static list where you can do the same thing?

Thanks!

Hi, @Jici! Question about the plugin: is there an option to simply show all the Bubble fonts in a dropdown? I don’t need custom fonts, just want to include the Bubble font picker for my users. Thanks!

Maybe using Google fonts API? (Bubble fonts are Google fonts)

Get the list of fonts, and you will probably be able to use custom HTML to display it like Bubble do :wink:

I’ve tested this with custom font and it was working fine. So it’s possible with Google fonts

1 Like

Hi, @Jici,

How can I add a list of texts, as defaults values?

for example:

Item1, Item2, Item3.

You need to use static options
and for the default value, use a CSV list like item1,item2,item3 (no space between comma. If you grab data from a list in bubble, use :join with , (comma)

this is how my list of test looks like,


And here is the settings for selectize:

And what did you set in initial value?

nothing for now.