How to create a jsfiddle with v-money lib?

Discussion in 'JavaScript' started by mstdmstd, Mar 12, 2020.

  1. #1
    Hello,

    I need to make jsfiddle with vuejs, vee-validate and v-money libs, and when I need to add some js lib to jsfiddle I open https://cdnjs.com/ and search lirary I need and found lib I attach in jsfiddle. But on https://cdnjs.com/ entering “v-money” it did not show any results. If there is a way to create a jsfiddle(or maybe some other similar service) with v-money lib?

    Thanks!
     
    mstdmstd, Mar 12, 2020 IP
  2. mstdmstd

    mstdmstd Well-Known Member

    Messages:
    130
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #2
    I got a ref to v-money from v-money github page and made this
    http://jsfiddle.net/oxqv7bwt/1/
    fiddle.
    But validating data I always see success validation, event with negative default value :
    I added console in positive_price rule definition, but I do not see this output...
    Please, take a look why positive_price is not triggered. The sense of this fiddle is
    just to run positive_price custom rule.
     
    mstdmstd, Mar 12, 2020 IP