Hey guys, how would you create a searchable dropdown menu? I mean, one that shows the options you can choose from however also allows to input by typing and then doing a fuzzy search to match?
Hi Alex, really cool plugin. Thanks for reply.
I just had an small issue. I can´t autobind multi select dropdown to a data type which is not list.
For instance, my parent group is type “operations” which has a “Center of cost” inside of it, which is “center of cost” type. If it was “Center of cost” l list type then this multiselectdropdown would allow me to autobind it.
And I can’t afford to lose autobinding because all those operations are inside a repeating group which can create 1,2,…40 operations at once. So no workflow (without backend wf) would resolve this issue I guess.
Maybe you have any idea to how to force autobinding? I’m not sure it is going to work with this plugin. I wish it would, it is nice.
Thanks for reply
I don’t understand what you’re trying to do. Which datatype do you want to show in a searchable dropdown element?
So, this one above is an operation. It is inside a repeating group of operations. Each operation has many fields. Some of those fields are displayed in the image above.
I hit the + button to add an new operation. It will create an operation inside a list of operations which populate my repeating group. See that in this case this operation has all fields empty.
Now I create “Centro de Receitas” which is a field type inside of operation. This field is “Centro de Receita” type. I retrieve the data from current user’s enterprise “centros de Receita” which is a list of “centro de Receita”. Alright, nothing fancy. This is already a multiselect dropdown. So each operation receives JUST 1 Centro de Receita. Aswell just 1 Categoria and just 1 Cliente.
Now I tried to duplicate it. See that all other fields, once autobinded, creates automatically changes inside my operations which are nested inside this repeating group. “Valor”, “descrição”, “data do vencimento” e “data do recebimento” are fields that are autobinded. Once duplicated, it is easy for me to create an new operation which copy the old fields to the new ones.
However see the matter here: the problem is that The multiselect dropdown doesn’t allow me to autobind those inputs. So I can’t make changes in operations straight forward, I must use the workflow.
Ok, not a problem. I can make changes in the operations fields by just nesting inside this group a “custom state” which is type list of “centros de Receita” whenever the value of the multiselect dropdown changes. Then add this value of this custom state in the same workflow to the operations’ Centro de Receita value.
So I do the same for the other 2 multiselect dropdown fields. Ok, almost all issues solved…
The final thing is that when I duplicate the operation the multiselect dropdown doesn’t retrieve the single type value “Centro de Receita” inside of operation because it is not a list of “Centros de Receita”. Even though the “Centros de Receita” are correctly filled inside the new operation. It just appears to be not, but it is. It just a question to make the new multiselect dropdown to show values of the lists which they were originally copied from.
I’m just trying to understand now how to fill that value in a list and then this problem is solved…
I really didn’t wish to change all my 3 dataypes “Centro de Receita”, “Categoria” and “Cliente” into a list because it doesn’t makes sense once every operation just need one entry for each type.
Maybe thats the solution anyways… Just making a list with 1 item of those field types inside every “operation” type. Will need to change the workflow alot but whatever, I think that this multiselect dropdown is really worth it.
Would be cool if bubble would allow multiselect dropdown to function just as a normal dropdown and not a list whenever the user specified that the maximum number of items is just 1, which is my case. Maybe a good idea if they saw this. Would allow new applications such as mine to be easily made.
This topic was automatically closed after 70 days. New replies are no longer allowed.