Giter VIP home page Giter VIP logo

Comments (6)

ahoiroman avatar ahoiroman commented on September 10, 2024

Additional info: It works fine if I use vue-currency-input: "1.3.2"

from vue-currency-input.

dm4t2 avatar dm4t2 commented on September 10, 2024

Can you provide a CodeSandbox to reproduce this issue?

from vue-currency-input.

ahoiroman avatar ahoiroman commented on September 10, 2024

Sure (well - I am using Codepen, but I hope this is working for you, too)

This is the pen: https://codepen.io/spqrinc/pen/gJexvR/

In the JS-field, you may find this code:

const StartPage = {
	template: `
    <div>
		<h2>Raw data</h2>
		<div>
			{{product}}
		</div>
		<hr />
		<h2>Vue-Currency-Input</h2>
		<currency-input v-model="product.price"/> <!--Remove this to see the result of product above-->
	</div>
  `,

If you remove <currency-input v-model="product.price"/> here, you can see, that the raw data returns { "price": 1.09 }. If currency-input is inserted, the raw data is { "price": null }.

You are welcome to fork this snippet - if you are inserting your component in version 1.3.1 it works fine :-)

from vue-currency-input.

dm4t2 avatar dm4t2 commented on September 10, 2024

Thank you, I will fix this issue in the next release.

from vue-currency-input.

ahoiroman avatar ahoiroman commented on September 10, 2024

Thanks a lot for all the work :-)

Unfortunately I can not test it at the moment (#13) .

If you find some time, I would be very happy if you could check out the linked issue so that I can test the fix in 1.5.0 :-)

from vue-currency-input.

ahoiroman avatar ahoiroman commented on September 10, 2024

In 1.5.1 it works as expected. Thanks!

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.