Conditional Builder - Dropdown Issue

Widgets & Design

Hi all, I’ve run into a problem that at this stage I’m not sure if it’s a genuine bug or I’m missing something obvious.

I have a dropdown widget which contains predefined prices, embedded in a conditional builder widget.

I also have a choicechip widget with “choice a” and “choice b”.

If the user selects “choice a” then the “dropdown A” widget becomes visible with that list of prices, and if the user selects “choice b” then the “dropdown B” widget becomes visible with its own list of separate prices

I have it all running smoothly however for whatever reason, dropdown B (the widget which is initially hidden) won’t update or recognise any value despite an option being selected in the dropdown.

For example: I’ll select “£500” within this widget, but if I try writing that to firebase or just testing the value on my page, I get no value being returned ie: null. The value won’t change whatsoever

This doesn’t happen with dropdown A. I tested around and it seems that whichever dropdown widget is initially hidden via the conditional builder that when it eventually gets revealed/made visible it just won’t update/print the option values.

Another test I did was set dropdown B to have a predefined value of £10, and when I test it, initially after choice b is selected, “£10” gets printed but any subsequent change to the dropdown doesn’t do anything and it remains forever at £10, really odd.

If anyone could help me on this it would be greatly appreciated as I’m genuinely stumped why it wouldn’t print a value

What have you tried so far?

Covered above, but I've tested the output of Dropdown B by linking it to a text-field to check the output ahead of writing it to firebase and the value either prints as null (if no pre-defined option selected for the widget) or it prints to whatever initial value I set, but thereafter, any change to the selected dropdown B widget, the value won't update and it'll just stay at the initial value.

Photos uploaded show:

  • The initial value being printed of dropdown B (in this case, the initial default value is set to £0 and so the value in my text field is equal to that which shows it is correctly taking that value from the widget dropdown)

  • Changing the value to another option, but the printed value does not change (despite being linked directly to this dropdown as the variable source) the second photo shows i've changed it to £1,000 PCM as the value , but the textfield remains at £0 indiciating no matter what value/option I change it to, it just won't recognise any update made to the dropdown and as such I cannot update the users data.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
3 replies