Zend certified PHP/Magento developer

Magento 2.3.3 increment and decrement for Product page adds to all product

I have been successful in adding code to the file addtocart.phtml to have increment and decrement. I had read to add the same code to grouped.phtml to have the option on the grouped page. the boxes are there however when I click on one it changes all the products on the page and the boxes are on top and bottom of the quantity not on the sides like on the product page. there must be a simple way to fix this. thanks
this is a screen shot

< ?php

/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

/**
* Grouped product data template
*
* @var $block MagentoCatalogBlockProductViewBaseImage
* @var $block MagentoGroupedProductBlockProductViewTypeGrouped
*/
?>

setPreconfiguredValue(); ?>
getProduct(); ?>
getAssociatedProducts(); ?>
0; ?>

escapeHtml(__(‘Grouped product items’)) ?>

escapeHtml(__(‘Product Name’)) ?>
isSaleable()) : ?>
escapeHtml(__(‘Qty’)) ?>

escapeHtml(__(‘Product Name’)) ?>” class=”col item”>
escapeHtml($_item->getName()) ?>
getCanShowProductPrice($_product)) : ?>
getCanShowProductPrice($_item)) : ?>
getProductPrice($_item) ?>

isSaleable()) : ?>
escapeHtml(__(‘Qty’)) ?>” class=”col qty”>
isSaleable()) : ?>

escapeHtmlAttr($_item->getId()) ?>]”
data-selector=”super_group[escapeHtmlAttr($_item->getId()) ?>]”
value=”escapeHtmlAttr($_item->getQty() * 1) ?>”
title=”escapeHtmlAttr(__(‘Qty’)) ?>”
class=”input-text qty”
data-validate=”{‘validate-grouped-qty’:’#super-product-table’}”
data-errors-message-box=”#validation-message-box”/>

{
“.control button”: {
“Magento_Catalog/js/view/product/qty”: {}
}
}

getId() ?>”>-
getProductDefaultQty() * 1 ?>”
title=””
class=”input-text qty”
data-validate=”escapeHtml(json_encode($block->getQuantityValidators())) ?>”
data-product-item=”getId() ?>”
/>
getId() ?>”>+

escapeHtmlAttr(__(‘Availability’)) ?>”>
escapeHtml(__(‘Out of stock’)) ?>

getCanShowProductPrice($_product)
&& $block->getCanShowProductPrice($_item)
&& trim($block->getProductPriceHtml(
$_item,
MagentoCatalogPricingPriceTierPrice::PRICE_CODE
))) : ?>

getProductPriceHtml(
$_item,
MagentoCatalogPricingPriceTierPrice::PRICE_CODE
) ?>

isSaleable()) : ?>43″>
escapeHtml(__(‘No options of this product are available.’)) ?>