I want to empty the values present in the drop down of UiPath Form.
I’ve created a UiPath Form using Form Designer and I want to empty the values of a drop down. I can disable the dropdown using edit form property but unable to clear the values.
Fine the valiable associated with this dropdown list. Use the “Assign” activity. Give the variable an empty or default value. For example, if the variable is called DropdownListValue, in the ‘Assign’ activity, specify DropdownListValue = Nothing to clear the list.
I am also having a similar issue. I have two dropdowns and when I set one dropdown, the value of the second should change in a trigger. However, the second dropdown keeps the initial values and adds the new values. I’ve tried using ‘Set Form Values’ activity to clear the ddl values before setting it again in another ‘Set Form Values’. I’ve also tried clearing the list (new List(of String)) before adding the new values to the list. Neither of these worked. The list has the correct values when I set the dropdown, but for some reason, it doesn’t clear the previous values of the dropdown. Was anyone able to figure this out?