Windowscommunitytoolkit: New UI Control for Tags with close button

Created on 20 Nov 2017  路  12Comments  路  Source: windows-toolkit/WindowsCommunityToolkit

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[x] Feature request <!-- Please file a UserVoice request and include the link below https://wpdev.uservoice.com/forums/110705-universal-windows-platform/category/193402-uwp-community-toolkit -->
[ ] Sample app request
[ ] Documentation issue or request
[ ] Question of Support request => Please do not submit support request here, instead see https://github.com/Microsoft/UWPCommunityToolkit/blob/master/contributing.md#question

UserVoice link

https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/32318413-new-ui-control-to-add-tags-with-close-button

Current behavior

Not available

Expected behavior

Control similar add tags in StackOverflow or in Xamarin Forum to add multiple tags with auto suggestion and close button with events.

tags-control2

tags-control

Minimal reproduction of the problem with instructions

Environment

Nuget Package(s): 

Package Version(s): 

Windows 10 Build Number:
- [ ] Anniversary Update (14393) 
- [ ] Creators Update (15063)
- [ ] Fall Creators Update (16299)
- [ ] Insider Build (xxxxx)

App min and target version:
- [ ] Anniversary Update (14393) 
- [ ] Creators Update (15063)
- [ ] Fall Creators Update (16299)
- [ ] Insider Build (xxxxx)

Device form factor:
- [ ] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 15.3
- [ ] 2017 15.4

controls feature

Most helpful comment

All 12 comments

Seems like this could easily be accomplished with a WrapPanel with a template containing a textblock and button. The sample app pretty much is this, but with remove as the button instead of the x button

Agree, doesn't seem like a control would provide much more than what @skendrot has suggested

@skendrot @nmetulev And what about the Autocomplete feature at the end of the control?

Put an AutoSuggestBox as the last item

Something like this?

export

Any of the controls in the Community Toolkit can be recreated by just plonking XAML in a page and wiring up the code-behind. The idea of a control is to make it reusable and easy to use. Many chips control include properties to control the maximum and other features.

Yes, but we also need to factor in how often a control will be used. If someone is creating a blogging app, sure it's needed. What other apps can benefit from this feature?
I know there is a good use case for a control. Unfortunately that doesn't mean it has a good use case for being in a toolkit.

ok @skendrot if I create one can I put a link to the repo here? so that anyone else that comes here wont ultimately be disappointed ?

Of course!

Whats the status? @deanchalk are you planning to send a PR?

Closing the issue due to inactivity and availability of the control outside the toolkit.

Was this page helpful?
0 / 5 - 0 ratings