Multiline Chips?

UI Components for Angular
Post Reply
ItsDubC
Posts: 2
Joined: 01 Dec 2020, 21:14

01 Dec 2020, 21:39

The chips functionality is great and exactly what I need, however I have some fields binded to chips that could potentially have more values than can visibly be shown in a single line. By default the chips component starts hiding values to the left as more values are added.

Is there any way to have chips grow vertically when more values are added, similar to the way a textarea works? If not, is there anyway to have a textarea behave like a chips component?

Thanks in advance!

ItsDubC
Posts: 2
Joined: 01 Dec 2020, 21:14

04 Dec 2020, 16:23

The Angular Material chips automatically adds a new line by default when additional items are added. I may just have to use that.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

08 Dec 2020, 19:32

v11 wraps to a new line and 9.x/10.x LTS will do it as well.

https://primefaces.org/primeng/showcase/#/chips

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests