You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
# react-constraint-validation
2
-
**React Constraint Validation** is a small library that provides validation props for React components similar to the HTML Constraint Validation attributes.
2
+
**React Constraint Validation** is a small library that aims to provide validation props for React components similar to the HTML Constraint Validation attributes.
3
3
4
4
### Features
5
5
6
6
- HTML Constraint Validation attributes (like required, min, maxLength) for React components (without refs)
7
7
- Easily extensible with own validators
8
8
- Localisation of error messages and interpolation
9
9
- Written in Typescript
10
-
-Perfect fit to Formik
10
+
-To be used with Formik
11
11
12
12
### Use case
13
13
@@ -21,7 +21,7 @@ Instead you want to create Fields that directly support these validations with r
21
21
22
22
### Form framework needed
23
23
24
-
**React Constraint Validation** provides a HOC and some standard validators. The HOC can be used to enhance form components of your preferred form framework e.g. Formik.
24
+
**React Constraint Validation** provides a experimental HOC and some standard validators. The HOC can be used to enhance form components of your preferred form framework e.g. Formik.
25
25
26
26
Limitation: Actually it currently only supports Formik ;) Support for other form frameworks like React Final Form is planned with one of the next releases.
0 commit comments