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

Is this compatible with vuetify v2? #8

Closed ebuychance closed 5 years ago

ebuychance commented 5 years ago

I get the following error with boiler plate setup from the README.md:

vue.runtime.esm.js?2b0e:619 [Vue warn]: Unknown custom element: <v-text-field> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <Money>
[Vue warn]: Error in directive currency bind hook: "TypeError: Cannot read property 'length' of undefined"
found in
---> <Money>
phiny1 commented 5 years ago

Is compatible with vuetify 1.5, i need improve the component to vuetify 2

phiny1 commented 5 years ago

Published version 2.0.0 for vuetify 2:

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