-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude withRequiredValidator from input props.
- Loading branch information
Showing
4 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,13 @@ npm install react-material-ui-form-validator@next | |
|
||
### Versions | ||
+ 0.x, 1.x - supports material-ui <= 0.x | ||
+ up to 2.0.0-beta.9 - supports material-ui >= 1.x (you can install it by ``npm i [email protected]``) | ||
+ from 2.0.0-beta.10 - supports @material-ui/core (you can install it by ``npm i react-material-ui-form-validator@next``) | ||
+ ^2.0.0 - supports material-ui >= 1.x | ||
|
||
Implementation of [react-form-validator-core](https://www.npmjs.com/package/react-form-validator-core) for [material-ui v1](https://material-ui-next.com/) | ||
|
||
Supported types: | ||
+ Text ([TextValidator](https://github.com/NewOldMax/react-material-ui-form-validator/blob/v1/src/TextValidator.jsx)) | ||
+ Select ([SelectValidator](https://github.com/NewOldMax/react-material-ui-form-validator/blob/v1/src/SelectValidator.jsx)) | ||
+ Text ([TextValidator](https://github.com/NewOldMax/react-material-ui-form-validator/blob/master/src/TextValidator.jsx)) | ||
+ Select ([SelectValidator](https://github.com/NewOldMax/react-material-ui-form-validator/blob/master/src/SelectValidator.jsx)) | ||
|
||
Some rules can accept extra parameter, example: | ||
````javascript | ||
|
@@ -215,4 +214,4 @@ export default CheckboxValidatorElement; | |
### Contributing | ||
This component covers all my needs, but feel free to contribute. | ||
This component covers all my needs, but feel free to contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters