NO UNIQUE IDs!!!! For Buttons In One Repeater!

Not sure if this has been said like this exactly, but my use case was that I wanted to be able to disable a button in a repeater container but just that button (while the other buttons in the repeater remained enabled). I accomplished this by creating this function on all of the "#bookButton"s that matched the event.context.itemId which maps to the particular button clicked to that itemData._id in the repeater.

export function bookButton_click(event) {
// #slotRepeater is the id of my repeater
$w( “#slotRepeater” ).onItemReady(($item, itemData, index) => {
if (event.context.itemId === itemData._id){
// #bookButton is the id of all the buttons but $item maps through each button on the repeater
$item( “#bookButton” ).disable();
}
});
}

Hope this helps someone!