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

125
Views
Trying to extend a Vuetify component

I would like to make ready to use components with my classes/stylish, I'm using mixins for the thing, but it seams the properties are not passed. I get the style but not the "items" i.e.

This is the code:

<template>
  <span>
    <p
      class="text-left text-secondary text-caption ml-2 pb-0 pt-0 mb-0 mt-0"
      v-if="label"
    >
      {{ label }}
    </p>
    <v-autocomplete
      :class="getClass"
      outlined
      single-line
      hide-details
      v-bind="$props"
    />
  </span>
</template>

<script>
import { VAutocomplete } from "vuetify/lib";

export default {
  mixins: [VAutocomplete],

  data() {
    return {};
  },

  mounted() {
    console.log(this.$props);
  },

  watch: {},

  computed: {
    getClass() {
      return "input-style font-size-input text-light-input placeholder-light border-radius-md select-style mt-0 mb-2";
    },
  },

  methods: {},
};
</script>
about 4 years ago · Juan Pablo Isaza
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!