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): actions slot #20858

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

J-Sek
Copy link
Contributor

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

Description

resolves #20690

Markup:

<template>
  <v-app>
    <v-container>
      <v-date-input />
      <v-date-input>
        <template #actions="{ save, cancel, isPristine }">
          <v-btn variant="outlined" @click="cancel">
            <v-icon>mdi-arrow-left</v-icon>
          </v-btn>
          <v-btn :disabled="isPristine" variant="outlined" class="flex-grow-1" @click="save">Save</v-btn>
        </template>
      </v-date-input>
    </v-container>
  </v-app>
</template>

@J-Sek J-Sek requested a review from johnleider January 11, 2025 14:28
@J-Sek J-Sek self-assigned this Jan 11, 2025
@KaelWD KaelWD added this to the v3.7.x milestone Jan 16, 2025
@KaelWD KaelWD merged commit 70deee7 into vuetifyjs:master Jan 16, 2025
10 checks passed
@J-Sek J-Sek deleted the feat/vdateinput-actions branch January 16, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] VDateInput - Add a slot to customize the VDatePicker child-components action slot directly
2 participants