Copy to clipboard doesn't function correctly

I just generated a new API key for one of my accounts. The generated key started with the character “-” (I’ve since re-rolled it).

However, the copy button behind the texbox that shows you that API key doesn’t function correctly in this use case. When clicking it, it’ll only copy the characters after the “-” symbol, rather than the whole thing.

It’s a very minor issue. But figured I’d report it so it can avoid confusion for people in the future.