Skip to content

Instantly share code, notes, and snippets.

View RodrigoFraga's full-sized avatar

Rodrigo Fraga RodrigoFraga

  • PicPay
  • Feira de Santana
View GitHub Profile
@RodrigoFraga
RodrigoFraga / vueMoney.vue
Created May 7, 2019 14:20
Vuetify with v-money
<template>
<div class="v-input v-text-field v-input--is-label-active v-input--is-dirty theme--light" :class="{'error--text': errorMessages.length, 'v-input--is-focused': input_active}">
<div class="v-input__control">
<div class="v-input__slot">
<div class="v-text-field__slot">
<label aria-hidden="true" style="left: 0px; right: auto; position: absolute;"
class="v-label theme--light v-label--active" :class="{'error--text': errorMessages.length}">{{label}}</label>
<money
v-model="money"