copyable table column error on production vps
i already run npm install and build on my terminal and its fine
error on console browser
livewire.js?id=a27c4ca2:1235 Alpine Expression Error: Cannot read properties of undefined (reading 'writeText')
Expression: "
window.navigator.clipboard.writeText('PO-39349/23/62/52')
$tooltip('Invoice Berhasil Di Salin!', {
theme: $store.theme,
timeout: 1500,
})
"
<div x-on:click="
window.navigator.clipboard.writeText('PO-39349/23/62/52')
$tooltip('Invoice Berhasil Di Salin!', {
theme: $store.theme,
timeout: 1500,
})
" class="flex max-w-max cursor-pointer">…</div>flex
handleError @ livewire.js?id=a27c4ca2:1235
(anonim) @ livewire.js?id=a27c4ca2:1308
Promise.catch (asinkron)
(anonim) @ livewire.js?id=a27c4ca2:1308
tryCatch @ livewire.js?id=a27c4ca2:1228
(anonim) @ livewire.js?id=a27c4ca2:3817
handler4 @ livewire.js?id=a27c4ca2:3144
(anonim) @ livewire.js?id=a27c4ca2:3209
(anonim) @ livewire.js?id=a27c4ca2:3146
livewire.js?id=a27c4ca2:1239 Uncaught TypeError: Cannot read properties of undefined (reading 'writeText')
at [Alpine]
window.navigator.clipboard.writeText('PO-39349/23/62/52')
$tooltip('Invoice Berhasil Di Salin!', {
theme: $store.theme,
timeout: 1500,
})
2 Replies
use https
This feature only works when SSL is enabled for the app.
ok thx u bro