Skip to content

Added new kb article autocomplete-copy-text-itemtemplate #3018

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kendo-bot
Copy link
Collaborator

No description provided.

@kendo-bot kendo-bot requested a review from a team as a code owner June 12, 2025 12:59
@xristianstefanov xristianstefanov self-assigned this Jun 12, 2025
@xristianstefanov xristianstefanov added the merge-to-production Use this label to get a comment to choose whether to merge the PR to production label Jun 12, 2025

private async Task CopyToClipboard(string text)
{
await JS.InvokeVoidAsync("navigator.clipboard.writeText", text);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a check if this functionality is allowed by the browser to avoid crashes due to missing permissions.


<style>
.copy-button {
margin-left: 8px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a gap style on the flex div instead

type: how-to
page_title: How to Enable Text Copy in AutoComplete Dropdown Blazor
slug: autocomplete-kb-copy-text-itemtemplate
tags: autocomplete, blazor, itemtemplate, clipboard, text, copy, paste
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tags: autocomplete, blazor, itemtemplate, clipboard, text, copy, paste
tags: blazor, autocomplete, itemtemplate, clipboard, copy, paste

@xristianstefanov xristianstefanov removed the merge-to-production Use this label to get a comment to choose whether to merge the PR to production label Jun 12, 2025
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

Successfully merging this pull request may close these issues.

3 participants