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

Copy to clipboard button for text based Custom Field #843

Open
subzdev opened this issue Dec 7, 2021 · 2 comments · May be fixed by #899
Open

Copy to clipboard button for text based Custom Field #843

subzdev opened this issue Dec 7, 2021 · 2 comments · May be fixed by #899
Labels
enhancement New feature or request

Comments

@subzdev
Copy link

subzdev commented Dec 7, 2021

Is your feature request related to a problem? Please describe.
Cannot copy text from a Custom Field with a button.

Describe the solution you'd like
When in the Custom Fields for an agent, for example, when there is a text based Custom Field that needs to be copied would be nice to have a Copy Text button to allow that with one-click.

Describe alternatives you've considered
Manually highlight, right-click and select Copy.

@subzdev subzdev changed the title Copy text button for text based Custom Field Copy to clipboard button for text based Custom Field Dec 7, 2021
@silversword411
Copy link
Collaborator

Do we have the "copy to clipboard" code anywhere in the repo? Might be able to add it where we want ;)

@silversword411 silversword411 added the enhancement New feature or request label Dec 7, 2021
@sadnub
Copy link
Collaborator

sadnub commented Dec 10, 2021

If you want to take a stab at it see this: https://quasar.dev/quasar-utils/other-utils#copy-to-clipboard

I am using that here: https://github.com/wh1te909/tacticalrmm/blob/develop/web/src/components/core/APIKeysTable.vue

It copies the API key

subzdev pushed a commit to subzdev/tacticalrmm that referenced this issue Dec 24, 2021
@silversword411 silversword411 linked a pull request Dec 24, 2021 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants