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

feat(VDateInput): pass location to VMenu #20854

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

J-Sek
Copy link
Contributor

@J-Sek J-Sek commented Jan 10, 2025

Description

I am unable to figure out any valid use case for location when it is passed to the VDatePicker. If we could pass it to VMenu instead it enables control over picker location.

bottom center was mentioned by someone on Discord, but would require replacing whole component with VTextInput and VMenu and reimplementing stuff or accepting suboptimal UX (minimal workaround) VDefaultsProvider to inject location to VMenu (playground).

Markup:

<template>
  <v-app>
    <v-container>
      <v-date-input label="Original placement" />
      <v-date-input label="Centered" location="bottom center" />
    </v-container>
  </v-app>
</template>

@J-Sek J-Sek self-assigned this Jan 10, 2025
@J-Sek J-Sek closed this Jan 11, 2025
@J-Sek J-Sek deleted the feat/vdateinput-location branch January 11, 2025 20:31
@J-Sek J-Sek restored the feat/vdateinput-location branch January 11, 2025 22:27
@J-Sek J-Sek reopened this Jan 11, 2025
@KaelWD KaelWD added the labs label Jan 16, 2025
@KaelWD KaelWD added this to the v3.7.x milestone Jan 16, 2025
@KaelWD KaelWD merged commit 2cefedb into vuetifyjs:master Jan 16, 2025
5 checks passed
@J-Sek J-Sek deleted the feat/vdateinput-location branch January 16, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants