Skip to content

Commit 41fe8ef

Browse files
author
Oleksii An
committed
Updated README.
1 parent 9fa8cfd commit 41fe8ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const email = (value) => {
5151

5252
const lt = (value, props) => {
5353
// get the maxLength from component's props
54-
if (!value.toString().trim().length > props.maxLength) {
54+
if (value.toString().trim().length > props.maxLength) {
5555
// Return jsx
5656
return <span className="error">The value exceeded {props.maxLength} symbols.</span>
5757
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-validation",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"private": false,
55
"main": "build/main.js",
66
"dependencies": {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy