Removing a single piece of data from a field in collection

I have a repeater that is linked to dynamicDataset and I would like a button to remove just the reference from the collection. Not the whole record.

All I can find is deleting a whole record.

I have this so far…

export function button2_click(event) {
let itemObj = $w("#dynamicDataset").getCurrentItem();
wixData.remove(itemObj,"Tenant")
$w("#dynamicDataset").refresh
}

But I’m guessing it’s a bit more complex than this…

The getCurrentItem()( function will get all the data.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#getCurrentItem

If you want to just get a specific field, then simply add your field afterwards like this
$w(“#yourdataset”).getCurrentItem().field;

Also, as you mention repeaters, have you read about using them and the differences between actions inside a repeater and outside a repeater?

Repeater info in Wix API Reference.
https://www.wix.com/corvid/reference/$w.Repeater.html

Wix tutorial that shows you about using actions inside (inline actions) and outside (global actions) of a repeater.
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-input-repeaters

Thank you for the references.