Giter VIP home page Giter VIP logo

Comments (6)

dm4t2 avatar dm4t2 commented on September 10, 2024

Hi, which version of Vuetify/Vue Currency Input are you using? Example code would also be helpful.

Here is working example using the latest versions:

Edit Using Vue Currency Input with Vuetify

from vue-currency-input.

KammerR avatar KammerR commented on September 10, 2024

I am using the latest version of all. I'm using Nuxt, I put vue-currency-input as a plugin (although I tried to put it as a module, just like in the configuration). I created a codesandbox with my repo.

https://codesandbox.io/s/github/KammerR/nuxtVcurrencyBuild/tree/master/basicNuxt

from vue-currency-input.

dm4t2 avatar dm4t2 commented on September 10, 2024

It works if you remove the "v-currency-field" plugin from your Nuxt config (which also registers a v-currency directive globally):

https://codesandbox.io/s/basicnuxt-cr993

from vue-currency-input.

npolyakoff avatar npolyakoff commented on September 10, 2024

it seems like with Vuetify 1.5.0 directive on v-text-field works not as in guide basic example. For instance, it possible to type more than 2 number after delimeter

from vue-currency-input.

dm4t2 avatar dm4t2 commented on September 10, 2024

@npolyakoff: I can not reproduce the issue you described. It also works fine with Vuetify 1.5.0.

from vue-currency-input.

KammerR avatar KammerR commented on September 10, 2024

Thank you very much @dm4t2 !!! it really worked ...

However, I found another problem (although I think this is a little bug)

When I use a v-slider to update the value, the field does not display the mask and resets to 0.

I think it's because V-text-field treats uses string and v-slider uses a number, but I didn't find a "right" way to fix it.

However, thanks for the help.

I made a update in repo to reproduce it:

https://codesandbox.io/s/github/KammerR/nuxtVcurrencyBuild/tree/master/basicNuxt

from vue-currency-input.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.