radzen-blazor icon indicating copy to clipboard operation
radzen-blazor copied to clipboard

Use Badge as a tag/chip?

Open nicholasyin opened this issue 1 year ago • 4 comments

Does the Badge component support to be used as a tag/chip where users can enter in a textbox and close?

nicholasyin avatar Aug 23 '23 08:08 nicholasyin

The multiple selection is available with the RadzenDropDown Chips="true" option - https://blazor.radzen.com/dropdown-multiple. Is this what you are looking for?

yordanov avatar Aug 23 '23 08:08 yordanov

The multiple selection is available with the RadzenDropDown Chips="true" option - https://blazor.radzen.com/dropdown-multiple. Is this what you are looking for?

Kind of, except I'd like to allow users to enter arbitrary text, instead of having to select from a dropdown.

nicholasyin avatar Aug 25 '23 04:08 nicholasyin

Exactly what I am looking for. RadzenTag. I want user to input whatever they like to, and once they press enter or comma, written text should become chip. And if textbox is empty and user press backspace, it should remove last chip, write it to textbox. basicly tagging.

mhasanunal avatar Oct 03 '23 06:10 mhasanunal

In the end, I had to use this component, which, even though it's simple, does the job: https://github.com/SveNord/Sve-Blazor-ChipsInput. I still need to customize it to match the Radzen style, but for now, it serves its purpose. Hopefully, they'll consider adding it.

bikotoru avatar Nov 29 '23 03:11 bikotoru