Copy to clipboard action not working in Test Mode

I've added an action to an iconbutton to copy an app state variable to clipboard, but it just doesn't work in test mode. I haven't tried it in public mode yet, but I followed instructions to toggle publish mode "on".

Any ideas on how this is supposed to work in test mode?

8
10 replies