We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa8cfd commit 41fe8efCopy full SHA for 41fe8ef
README.md
@@ -51,7 +51,7 @@ const email = (value) => {
51
52
const lt = (value, props) => {
53
// get the maxLength from component's props
54
- if (!value.toString().trim().length > props.maxLength) {
+ if (value.toString().trim().length > props.maxLength) {
55
// Return jsx
56
return <span className="error">The value exceeded {props.maxLength} symbols.</span>
57
}
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-validation",
3
- "version": "3.0.0",
+ "version": "3.0.1",
4
"private": false,
5
"main": "build/main.js",
6
"dependencies": {
0 commit comments