nova-text-copy-field
nova-text-copy-field copied to clipboard
Unable to copy integer values t.value.trim is not a function
Preflight
- [x] I have searched the repo for this duplicates
Description
Expect Result
Copy value to the clippboard
Steps to reproduce
- use an int instead of a string for the field
- click the copy button
Logs, error output, etc
Uncaught TypeError: t.value.trim is not a function
Version information
nove-text-copy-field 1.5 Laravel Nova v3.8.4
If you use a computed field and cast the int to a string before it works just fine.
Thanks.