vuetifyjs / vuetifyjs/vuetify

[Feature Request] VSelect - a slot to replace menu content

Open
#15,014 7 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VSelect T: feature
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Problem to solve

I want to display the user a VSelect and a VTreeview to make the selection.

Unfortunately, we can not replace the VSelect's menu with our own as there is no slot for this.

The closest I have got is :
https://codepen.io/thomaskientz/pen/LYewoQL

Proposed solution

An items slot so we can get free of the list and provide a custom UI to display the items.

Another solution would be to use a VTextField then I can attach my own VMenu on focus but VTextField is missing a selection slot like VSelect, so I can't use chips inside of it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the linked CodePen and reviewing the VSelect and VTreeview behavior described in the issue. Determine how a custom menu-content slot should coexist with VSelect selection and chips, then verify that users can replace the item list with a custom UI while retaining selection behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.