What's Changing In Version 1.3 ✨ #13
Octagon-simon
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
NEW FEATURE
Octavalidate will now validate a range of numbers
Assuming you want a user to provide a value within a specified range, you no longer need to write unecessary logic for this because Octavalidate will integrate Range validation in its code base from version 1.3 upwards 🎉🎉🎉
This means that we can provide a range of values and wait for the library to validate the user's input.
This validation will only be used on an input element of type "number"
Check out the screenshot below
You Can Customize Where We Display The Error Element.
See Discussion #10 on its implementation
Custom Error Message Attributes have been modified
Because of this issue in ReactJS, we have decided to use one naming convention in both releases. This means that custom error messages will be in the format
ov-RULE-msg
and no longerov-RULE:msg
.So if I want to set a custom message for a required field, I will do something like this
ov-required-msg
instead ofov-required:msg
.Beta Was this translation helpful? Give feedback.
All reactions