Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(VField): default slot fallback #21074

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

johnleider
Copy link
Member

A small QOL change for working with VField.

TODO: doc updates

Description

Markup:

<template>
  <v-app>
    <v-container>
      <v-input>
        <v-field
          append-icon="$vuetify"
          label="Foobar"
          prepend-icon="$vuetify"
        />

        <v-menu activator="parent" eager>
          <v-list v-model:selected="selected">
            <v-list-item title="Foobar" value="one" />
            <v-list-item title="Foobar" value="two" />
          </v-list>
        </v-menu>
      </v-input>
    </v-container>
  </v-app>
</template>

<script setup>
  import { ref } from 'vue'

  const file = ref()
  const isFocused = ref(false)

  const selected = ref([])
</script>

it's overall a much better experience and very little to
improve the default presentation of a propless/slotless
VField
@johnleider johnleider added T: enhancement Functionality that enhances existing features C: VField labels Mar 6, 2025
@johnleider johnleider added this to the v3.8.0 (Andromeda) milestone Mar 6, 2025
@johnleider johnleider self-assigned this Mar 6, 2025
@johnleider johnleider changed the base branch from master to dev March 6, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VField T: enhancement Functionality that enhances existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant