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

Negative limits for numeric inputs #2796

Open
step0726 opened this issue Jun 6, 2024 · 2 comments
Open

Negative limits for numeric inputs #2796

step0726 opened this issue Jun 6, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@step0726
Copy link

step0726 commented Jun 6, 2024

I need put negative limits for numeric input in my application, when there is a negative max limit, it does not allow to enter input.

Here is an example : https://codepen.io/hpgtlbnu-the-vuer/pen/ExzXOPm

Is there a configuration or something wrong ?

Thank you for your help

@RobinHerbots RobinHerbots self-assigned this Jun 7, 2024
@RobinHerbots RobinHerbots added this to the 5.0.10 milestone Jun 7, 2024
@RobinHerbots RobinHerbots pinned this issue Jun 7, 2024
@Techn1c4l
Copy link

@RobinHerbots I think noValuePatching should allow to input any valid numeric value (including appropriate group and decimal separators) even if it's outside the min - max range. Then if the field loses focus, the Inputmask should patch the value according to set limits.

@RobinHerbots
Copy link
Owner

@Techn1c4l ,

The noValuePatching is about https://robinherbots.github.io/Inputmask/#/documentation#novaluepatching

@step0726 ,

I will have a look at the issue.

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

No branches or pull requests

3 participants