question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] decimal points for numeric

See original GitHub issue

Hey! great plugin! congrats! It would be great to have an option for validating the decimal points for numeric data eg: numeric:{decimals} <input type="text" data-rules="numeric"> // 123 valid, 12.34 invalid <input type="text" data-rules="numeric:3"> // 123 valid, 12.34 valid, 147.527 valid, 13.2368 invalid

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
dohoangncommented, Jun 15, 2020

extend(“decimal”, { …decimal, message: “This field only contain decimal”, }); vee-validate.esm.js?7bb1:329 Uncaught Error: Extension Error: The validator ‘decimal’ must be a function or have a ‘validate’ method. DOES NOT SEEM TO WORK “vee-validate”: “^3.3.0”, I don’t see decimal in the list export { alpha_dash, alpha_num, alpha_spaces, alpha, between, confirmed, digits, dimensions, email, ext, image, oneOf, integer, length, is_not, is, max, max_value, mimes, min, min_value, excluded, numeric, regex, required, required_if, size };

4reactions
logaretmcommented, Aug 24, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix/Feature Request for Formatting with Decimal Points
If you include a decimal point in the format, it will always be rendered, even for whole numbers. For example, #0.# will render...
Read more >
Feature Request: Decimal points in the quantity re...
Feature Request : Decimal points in the quantity received in a purchase order (Square for Retail). We are a fabric shop.
Read more >
Decimal field type - Feature Requests - Easy Layouts
You can use a text field and set the filter to 'float' (which is the same as decimal) - but it won't format...
Read more >
Feature request: set number of decimal places for CSV export
If I export the screener data as CSV, there are many more decimal places. 14.50% then becomes 14.50150481%. Please integrate a dialog before...
Read more >
have AMAZON.Number accept decimal points
Have AMAZON.Number accept decimal points in user verbal input. Right now, it handles 'minus' or negative numbers, but not when there is a ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found