Trouble closable q-chip (QChip)
-
Good evening guys, I’m having a problem with the q-chip component! When I add a simple q-chip with closable <q-chip closable color = “red”> Lucas </ q-chip> it is not possible to remove the q-chip by clicking the close icon! Can someone help me?
-
According to the doc:
When using closable property a close button will be displayed on the right side. When clicking/tapping on the button the @hide event will be triggered. This does not removes the chip by itself. You will have to handle it yourself.
So you must listen to the hide event. Example with jsfiddle:
https://jsfiddle.net/0effww7o/1/ -
Many thanks, it worked!