Hello,
I have a Form which contains, among the rest, 2 text and 2 dropdowns (combobox) data cards. The 2 dropdowns represent a data hierarchy with Level 1 on the first and Level 2 on the second. They are both Choices (the second one derives from a Lookup field on a different Table). When the value of the first dropdown is selected, it is used to filter the Choices in the second dropdown so to limit the options for the users.
My problem is that as long as the second dropdown has unfiltered Items = Choices() everything works as expected even if the unfiltered second dropdown has too many choices for the users.
As soon as I introduce the filter for the second dropdown based on the value of the first one, the moment I select a value from the first dropdown the 2 text data cards, whose content has been modified in the meantime by the user, reset back to their original values when the record started to be edited.
I have tried re-adding all the involved datacards, but not matter what, as soon as the second dropdown Items are being filtered, this side effect happens.
Here is the filtering code I use for Items of the second dropdown:
Filter(Choices([@Main_Table].Column2), Text(Column1) = Text(DataCardValue2.Selected.Value))
Which works perfectly beside having the side effect mentioned above.
If I just revert to the standard unfiltered:
Choices([@Main_Table].Column2)
There is no longer any side effect on the two text controls.
Is this a bug of some sort or am I overlooking something? My only option at this point would be to redo the whole Form from scratch.
Thanks in advance!