i am trying to add a Copy function to my table but i am not sure why it wont work


9 Replies
already thanks for your time 😄
are there any errors?
you can also try adding:
Oh i will try it later but no there arent any errors
Solution
Are you using
https
? Clipboard API does not work on unsecure connectionssorry for the late reply this doesnt work either ->copyableState(fn ($record): string => (string) $record->id)
i am running atm on my local machine and thats http
Yeah that won’t work. You need a secure connection. If you use Valet or herd that’s easy to setup
i do use herd 😄
Then run herd secure on your app
Okay thanks for the help!!