Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to copy integer values t.value.trim is not a function #33

Open
1 task done
jonasbrenig opened this issue Sep 2, 2020 · 2 comments
Open
1 task done

Unable to copy integer values t.value.trim is not a function #33

jonasbrenig opened this issue Sep 2, 2020 · 2 comments

Comments

@jonasbrenig
Copy link

jonasbrenig commented Sep 2, 2020

Preflight

  • 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

image

Version information

nove-text-copy-field 1.5
Laravel Nova v3.8.4

@jonasbrenig
Copy link
Author

If you use a computed field and cast the int to a string before it works just fine.

@bernhardh
Copy link

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants