0

I need to create v-text-field without background, borders or shadows, is that possible? Docs specify only these types:

enter image description here

But neither of them suit my needs.

What's the simplest way to achieve this?

I tried this but it didn't remove the background (in dark mode).

Drdilyor
  • 947
  • 1
  • 9
  • 24

1 Answers1

1

You can override default v-text-field styles in your css.

<v-text-field
    class="text-field-transparent"
    solo
    flat
/>
.text-field-transparent  .v-input__slot {
  background: transparent !important;
}
Drdilyor
  • 947
  • 1
  • 9
  • 24
Eduardo
  • 776
  • 2
  • 15