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

New Control: Tokenizing / Tags #4401

Open
BornToBeRoot opened this issue May 12, 2023 · 3 comments
Open

New Control: Tokenizing / Tags #4401

BornToBeRoot opened this issue May 12, 2023 · 3 comments

Comments

@BornToBeRoot
Copy link

BornToBeRoot commented May 12, 2023

Describe the feature

New control to add tokens / tags (See screenshot). Could be helpful for different scenarios. Mainly for tagging.

The items should be bound to a collection.

@punker76 what do you think?

Additional context

Something like this: https://stackoverflow.com/questions/29525410/wpf-control-for-tokenizing

image

Optional:

  • Configure the delimiter
  • Accept enter key?
@timunie
Copy link
Collaborator

timunie commented May 15, 2023

@BornToBeRoot maybe have a look at how MultiSelecitonComboBox works. It has almost everything needed to achieve such a control. However, this control has some really hard to solve issues (at least to be used everywhere and with many customizations). Mainly:

  • When to convert the text to an token?
  • How can a token be edited after it was changed?
  • How to handle LostFocus?
  • Do we need a way to validate tokens?

@BornToBeRoot
Copy link
Author

I will have a look at the control. Is it only available from version 3?

@timunie
Copy link
Collaborator

timunie commented May 17, 2023

Yes, it's a new control for v3.0. There's a preview available if you want to try out.

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

No branches or pull requests

2 participants