Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support min/max limits #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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