I have a dropdown with a list of options from a dataset. I have the user having selected one of those options and its saved into the dataset (basic data). What I want to do now is have the dropdown with the options but have the default value the saved value in the dataset (Basic Data)
I have it as like
Ive tried like parents group etc but its he same it wont go blue.
If your type of choices datatype is ‘Bhyve - Ingredient Type’ you need to make sure whatever datatype you specify on the Default Value is also of type ‘Bhyve - Ingredient Type’.
Thanks Guys, that kinda sucks. I was hoping that I could use that to show what the selection the user had made and give the options the user could make if they wanted to alter their choice later on.
That’s exactly how it’s supposed to work, but the data types do need to match.
Im simpler terms, if I had a dropdown populated with a list of colors from a datatype I created called ‘Color’, I’d want the default value to also be ‘Color’. It could still be nested, like ‘Current User’s FavoriteColor’ but that FavoriteColor set on the User would still need to be that Color datatype.
So I have a DS of options that the user can build, called Ingredient Type. It is just the one field. Then I have a DS called Basic Data which is a table of all the different options that can be selected, in that is like 8 dropdowns a few of which are multiselect dropdowns.
Im still a bit confused, does that mean the DS of options like Ingredient Type need to be on the same DS as Basic Data? How would that work?
The bit Im not understanding is “It could still be nested, like ‘Current User’s FavoriteColor’ but that FavoriteColor set on the User would still need to be that Color datatype.”
I tried doing that. But it still came up red. I made a second field in the basic data table and linked that to ingredient type, which is the list of options to select from. but yeah still red.
Ingredient type is the original source of data, the user makes this list btw.
If this is a list, you will need to specify which item in the list (i.e. ‘First Item’)…can you share screenshots of your database setup around this datatype?
And what about Bhyve - Basic Data’ and ‘INCI Name’? Since these are all related, at least how you’re trying to use them, their relationships are important.
Since you’re referencing them in your dynamic expression, I wanted to see how you’re using it.
Could you take me through this expression, and how you expect it should work? Is that a dash like ‘Search for Bhyve “dash” Basic Datas’ or is that a minus symbol, like ‘Search for Bhyve “minus” Basic Datas’?
which does go blue however the result is not what I was expecting. I am wanting that the current data in Category 2 (where the users response has been saved) to display in the dropdown box. Then the user can select a different response and overwrite the original response.
The “-” is just a dash. Its Bhyve - basic data as the table name.
I started there, I didnt have a lot of success. I basically ran into the same problem, I could get things to go blue and seemingly have everything link together but it wouldnt display the value in the dropdown.
Maybe Ill have to have a rethink at my approach, dropdowns dont seem to like to play well with displaying the current data
I had done that, it said that it was type text or something similar. I didnt understand what it was on about, I thought it meant that it was coming out to a text result.
Is there somewhere I can read more and get more examples of datatypes and relationships. The Bubble Docs are ok for a brief overview but not to helpful to learn from. Everything I have found bubble made seems to be very high level, is there an educational piece that goes into more detail, has more examples etc.