Hi, I am encountering a problem with dropdowns in my gallery.
On my screen I have two galleries, one of them contains buttons to update the information in the second gallery.
Most of it is just working fine, but when I add dropdowns to this second gallery with a standard list of items from a third collection, it does not what I expected it should do.
What am I doing:
- Click the button near MO 1 (1st picture)
- Select in the first dropdown Option 2
- Click the button near MO 2 (2nd picture)
- Click the button near MO 1 again (3th picture)
Now in all dropdowns of MO 1 option 2 has been selected by default.
For MO 2 only the first has option 2 selected by default.
I expected only the first of MO 1 to be option 2 and others all option 1.
Button Gallery1: OnSelect:
UpdateContext({SelectedMo: ThisItem}); Reset(Gallery2)
Dropdown Gallery2: Default:
LookUp(alg, alg_om = ThisItem.re_opm).alg_om
Dropdown Gallery2: OnChange:
Patch(re, LookUp(re, re_nr = ThisItem.re_nr) ,{re_opm: Dropdown.SelectedText.Value})
Does someone see the problem?
Solved! Go to Solution.
Problem solved.
Dropdown Gallery2: Default:
If(IsBlank(LookUp(alg; alg_om = ThisItem.re_opm).alg_om); Default; LookUp(alg; alg_om = ThisItem.re_opm).alg_om)
Problem solved.
Dropdown Gallery2: Default:
If(IsBlank(LookUp(alg; alg_om = ThisItem.re_opm).alg_om); Default; LookUp(alg; alg_om = ThisItem.re_opm).alg_om)
User | Count |
---|---|
139 | |
130 | |
76 | |
72 | |
70 |
User | Count |
---|---|
212 | |
200 | |
64 | |
63 | |
54 |