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(VNumberInput): support append/prepend inner slots/icons #20812

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

Conversation

yuwu9145
Copy link
Member

@yuwu9145 yuwu9145 commented Dec 27, 2024

Description

Add proper support of append/prepend inner slots/icons in VNumberInput

fixes #20782

Markup:

<template>
  <v-app>
    <v-container>
      <v-number-input prepend-inner-icon="mdi-alert" reverse />
      <v-number-input prepend-inner-icon="mdi-square" hide-input />
      <v-number-input hide-input />
      <v-number-input prepend-inner-icon="mdi-circle-outline" />
      <v-select prepend-inner-icon="mdi-check" placeholder="Normal padding" />
    </v-container>
  </v-app>
</template>

<style>
  /*
  uncomment to revert to default v-field-preppended padding


  .v-field.v-field--prepended {
    padding-inline-start: 12px;
  }

  */
</style>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant