Chips input #1636
-
Hello all, I'm trying to figure out about more options for the When I create an empty chips input, the label/placeholder is always "Example label", which I would like to change. I was also wondering if there are events that are fired that I can grab for when changes are made? Like, when a new chip is added, or one is removed or edited? I was digging through the code in the repo and can't follow it to anything that is helping me out. If anyone can point me in the right direction, it would be very helpful. Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi! You can change the default "Example label" in two ways:
Checkout all the events that are emitted for ChipsInput (and other cool infos) in our You can use them like this:
Best Regards! |
Beta Was this translation helpful? Give feedback.
Hi!
You can change the default "Example label" in two ways:
data-te-label-text="New label name"
new ChipsInput(myChips, { labelText: "New label name" })
Checkout all the events that are emitted for ChipsInput (and other cool infos) in our
API
section:https://tailwind-elements.com/docs/standard/components/chips/#docsTabsAPI
You can use them like this:
Best Regards!