Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Control for displaying added Tags and Tag-it like widget?

$
0
0

Hi,

 

I am looking for a control that can best display the tags that have been added for an item. I am capturing the returned tags into a sap.ui.commons.Link object and then displaying them in a Horizontal Layout but I believe this will not automatically wrap to the next line when tags fill in the first row. I can't use TextArea or TextView since they wont allow aggregation for Link object.

 

What are the other controls I can use?

 

This is what it looks like -> I have an iconTabBarFilter - which contains a Simple Form with the Tile  -> Then I have used a Horizontal Layout for holding the values but I don't think it's the best control

 

Tags.GIF

What I want to achieve is something like we see at the SCN page: What controls should I use to achieve this?

 

SCN Tags.GIF

 

On a separate note, I also want the users to be able to add tags, So I have a FeedInput box control in place. How can I create the tags like tag-it widget? For example, when we enter tags here at SCN, it rounds the tag we enter into a button like structure in the input box. How to do that in SAP UI5?

 

 

Thank you,

Prab


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>