Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

676
Views
How to add expended search icon into a text box using vuetify?

I recently started using vuetifyjs in my RTL project (written in Vue 2). I added a table in a card and I added the search bar as it's shown in the docs. I'm trying to do two things:

  1. Move the "number of items to show" option from the footer to the top.
  2. Make the search bar expendable from an icon.

Basically:

enter image description here

For the first case, I could not find a way to do this in the docs. For the second case, I'm trying to achieve this output:

enter image description here

I tried to look in the docs as well, but could not find a way to do this. I also came across with this article: Expand Searchbar with Search icon as well as show close icon onclick using Javascript

My current code:

<div>
  <v-card>
    <v-card-title>
      <v-text-field
        v-model="searchText"
        append-icon="mdi-magnify"
        label="חיפוש"
        single-line
        hide-details
      ></v-text-field>
    </v-card-title>
    <v-data-table
      class="elevation-1"
      :headers="headers"
      :items="items"
      :items-per-page="itemsPerPage"
      :footer-props="settings"
    >
    </v-data-table>
  </v-card>
</div>

Where:

settings: {
 'items-per-page-options': [10, 25, 50, 100],
 'items-per-page-text': 'סהכ'
},
itemsPerPage: 10

Is it possible to achieve this using vuetify?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!