I am using UiPath.Forms.Activities 24.10.2. In one of my UiForms, I have two dropdownlists. When dropdownlist 1 value changes, I have a trigger that will populate dropdownlist 2. However, I cannot clear the values of dropdownlist2 before adding new values. I’ve tried emptying the list that I use before setting the form values (screenshot 1). I’ve also tried setting dropdownlist 2 to nothing in an additional ‘Set Form Values’ activity before setting it with the correct values of the list (screenshot 2). But I am still unable to clear dropdownlist 2. Any help would be appreciated.
A simple example of what is happening:
DD1 - animal, car
DD1 has a trigger if the value is changed.
The results I want:
If DD1 = animal then DD2 = cow, dog, bird
If DD1 = car then DD2 = Toyota, Honda, Audi
What’s happening:
If user changes DD1 to car by accident, then changes DD1 to animal, DD2 = Toyota, Honda, Audi, cow, dog, bird. DD2 does not clear before resetting to correct values. Hope that makes sense.