Skip to content

Conversation

guyschlider
Copy link

Hi,

I was trying to implement min/max value restrictions.
Wasn't sure if this suits your style, waiting for your comments on it.

Thanks,
Guy.

Copy link

@sebabromberg sebabromberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add this feature

Copy link

@marcelosantanadev marcelosantanadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tks

@jggj21
Copy link

jggj21 commented Apr 23, 2020

I have problems adding min and max for v-money, I add the rule to it but it doesn't apply it, it doesn't give me an error either.

Version: 0.8.1
This way I have it

 <money
   class="el-input__inner-custom"
   v-bind="moneyNoDecimals"
    v-model="packageForm.crime.theftDisappear"
  ></money>

my script
  data() {
        return {
moneyNoDecimals: {
                decimal: ".",
                thousands: ",",
                prefix: "$ ",
                precision: 0,
                masked: false,
                max: 10000,
                min: 5000
 },
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants