I am working on powerapps and I have several components I'm importing from a Library which I use on my application. They all work fine, but if I ever attempt to use the Copy and Paste Code functionality with them I get the following error:
"
Details:
Template 'My_Component' for custom control 'Comp_1' could not be found.
Error code: 3501
".
I also tried with a local copy of the same and of other custom components and got the same error, so the problem seems to be with any kind of custom component, whether imported or not.
I apologize if this is already a known issue, I couldn't find anything on the forum or anywhere else to check.