I'm using a collection to create a dropdown list
I have oncheck
Collect(
EquipmentLis, /*create a collection to save the access equipment dropdown list*/
("Aframe"))
I thought i could do
Remove(
EquipmentLis, /*create a collection to save the access equipment dropdown list*/
("Aframe"))
but this does not work.
I am not using a gallery and i dont want to clear all items from the list just the one thats been unticked.
Hi @amyharkus86
When you collect the value to the collection, it is collected into a record which must have a field defined per value, as you specified no field, it defaulted to Value:
You can use remove in this way to achieve when you wanted:
Remove(
EquipmentLis,
{Value: "Aframe"}
)
Cheers,
Sancho
// Removing an item from a collection based on a condition
Remove(MyCollection, LookUp(MyCollection, ID = 123))
This is a Prompt Response.
// Button's OnSelect property
Remove(colItems, Gallery1.Selected); Refresh(Gallery1)
WarrenBelz
146,780
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,093
Most Valuable Professional