phiny1 / v-currency-field

The Vuetify Currency Field uses Vue Currency Input directive to create a currency component (<v-currency-field>)
https://phiny1.github.io/v-currency-field/
MIT License
60 stars 29 forks source link

Can't get v-text-view slots for prepend and append to work #17

Closed loopaware closed 4 years ago

loopaware commented 4 years ago

Hi, Trying to prepend with a v-icon, but can't make it work. Are you exposing slots?

` <v-currency-field label="Annual base salary" single-line :error-messages="cashMonies.errors" v-model="cashMonies.amount"

mdi-currency-usd

`

phiny1 commented 4 years ago

I didn't anticipate slot implementation, I'll work on it for the next release. But you can prepend icon with props:

https://codepen.io/phiny1/pen/NWWrmma?editors=1111

phiny1 commented 4 years ago

Try on 3.0.8.... if not work, open the issue again. Thx