Project Description: I am working on a simple project that involves multiple input fields, each with its own unique "Copy icon" for copying text. However, I am facing an issue where only the first input field is being selected and copied when I click on the copy icon.
Problem: I need all copy icons to work individually so that clicking on each one copies the corresponding input field's content.
Desired Outcome: I want each copy icon to copy the text from its respective input field when clicked, allowing for seamless copying of different inputs.
Reference Design: Please refer to this image for a visual representation of the project