Uncaught TypeError: Cannot read properties of undefined (reading 'writeText')
mas7 opened this issue · comments
Mohamed Surour commented
Environment:
- MacOS
- Google Chrome
Issue:
Trying to copy password and I get the following error message in the console
Uncaught TypeError: Cannot read properties of undefined (reading 'writeText') at eval (eval at safeAsyncFunction (..../livewire/livewire.js?id=2f6e5d4d:1281:21), <anonymous>:4:28) at [Alpine] const text = $wire.get('data.password'); window.navigator.clipboard.writeText(text); $tooltip('Copied', { theme: $store.theme, timeout: 2000 }); (eval at safeAsyncFunction
Mohamed Surour commented
Solved by applying https protocol