question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] New v-chip selectable prop

See original GitHub issue

Problem to solve

When we don’t want the v-chip component to be selectable, it would be nice to have a selectable=false option. As far as I’m concerned, I sometimes want to only have the close that is clickable. It would result in an unclickable v-chip, which wouldn’t change on hover or on click. Because it triggers active changes,…

Proposed solution

Add a selectable prop, true by default if you want, which would enables developpers to chose if it can be clicked/selected or not.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
ElijahKotylukcommented, Apr 2, 2020

The v-chip component has a disabled prop that gives the result you are looking for.

2reactions
laurent-brisboiscommented, Apr 2, 2020

Here is the v-chip I use :

<v-chip
   v-for="group in user.groupIds"
   :key="group.id"
   close
   @click:close="removeGroupFromUser(group)">
   {{ group.name }}
</v-chip>

It does this : image

The thing is when I hover on it, the pointer is the little hand and it looks clickable (it even change color on hover) and so it looks like a button that doesn’t work. What I’d like with the selectable=false thing, is that it doesn’t change on hover (color and pointer) except for the close button.

Note that with the disabled it gives this : image and the icon is no longer clickable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chip group component - Vuetify
The v-chip-group supercharges the v-chip component by providing groupable functionality. It is used for creating groups of selections using ...
Read more >
How to Submit a New Feature Request - Vagaro Support
Enter the title of the feature request in the box. Select a Category. Then enter a Description. Click Attach a file to add...
Read more >
Feature Request - Allow Product and Services Selection when ...
Solved: Hello, I'm currently working on syncing up our CoConstruct page with our QuickBooks transactions. CoConstruct leverages the Product ...
Read more >
chipset definition computer
A Basic Definition Living on the motherboard (opens in new tab), ... phone, car, and so on have all been through some kind...
Read more >
Feature Requests - Revizto Help Center!
Feature Requests. New ... Change reporter - Give ability for "new" reporter to close issue ... Selection Inspector - Export to CSV File...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found