Seems like the write text doesn't like when it is not a string.
ERROR TypeError: Error processing argument at index 0, conversion failure from 0
at ClipboardService.writeText (clipboard.service.ts:11)
at TextPropertyComponent.copyToClipBoard (text-property.component.ts:32)
at Object.eval [as handleEvent] (TextPropertyComponent.html:7)
at handleEvent (core.js:10258)
at callWithDebugContext (core.js:11351)
at Object.debugHandleEvent [as handleEvent] (core.js:11054)
at dispatchEvent (core.js:7717)
at eval (core.js:8161)
at HTMLElement.eval (platform-browser.js:995)
at ZoneDelegate.invokeTask (zone.js:421)
Seems like the write text doesn't like when it is not a string.
Repro: