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

332
Views
How to change color of hint attribute in vue.js?
`<v-text-field
  id="loginPasswordId"
  ref="password"
  v-model="password"
  class="login-input"
  dense
  :disabled="loading"
  :hint="hello world"
  :loading="loading"
  maxlength="16"
  outlined
  :rules="[rules.required,rules.passwordLength]"
  :type="passwordShow ? 'text' : 'password'"
  @keyup.enter="submit">
</v-text-field>`

How to change color of hint attribute in vue.js ? Is there anyone to help ?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You can add css style for hint class:

.v-messages__message {
    color: red !important;
}
about 4 years ago · Juan Pablo Isaza Report

0

You can style .v-messages__message:

new Vue({
  el: '#demo',
  data() {
    return {
      password:''
    }
  }
})
.v-messages__message {
  color: violet;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vuetify/2.5.8/vuetify.min.js" integrity="sha512-4WwTDsHz4Dr/FqjqVTT4Xm9K0y/4FQDDjIzGQyKMLaYnxgjh2vyy8rTNh7QUg9pmCbBng5nnXzRlebkGMIIQQg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vuetify/2.5.8/vuetify.min.css" integrity="sha512-OLLHV7EvoUTcPYtFNXC73+SvDC4l/KoEd1YgNZXySxj/7XVBaHEdoqsITIgC0mJd+p1kWe/LxCR+0wCVf8LpOQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<div id="demo">
<v-text-field
  id="loginPasswordId"
  ref="password"
  v-model="password"
  class="login-input"
  dense
  hint="hello"
  loading="loading"
  maxlength="16"
  outlined
  type="passwordShow ? 'text' : 'password'"
  @keyup.enter="submit">
</v-text-field>
</div>

about 4 years ago · Juan Pablo Isaza Report
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!