URGENT - remove from collection if dropdown selection is blank
OnChange of a dropdown, I am doing the following... to set the chosen value to a global variable, and also add it to a collection if the selection is not blank (there is a blank Items entry at the start).
What I want is, if the user selects the blank value, to remove it from the collection. This way, when I patch ForAll items in the collection, it will only patch data over to Dataverse for dropdowns which are not set to blank.
Please help. I have commented what I have tried, but this is erroring on the Remove part!!!