88
99A form input builder and validator for React.
1010
11- | [ Quick Start] ( #quick-start ) | [ API] ( /API.md ) | [ Examples ] ( /examples ) |
12- | --------------------------- | -------------- | --------------------- |
11+ | [ Quick Start] ( #quick-start ) | [ API] ( /API.md ) |
12+ | --------------------------- | -------------- |
1313
1414## Background
1515
@@ -31,6 +31,29 @@ This project was originally located at https://github.com/christianalfoni/formsy
3131
3232` yarn add formsy-react react react-dom ` and use with webpack, browserify, etc.
3333
34+ ## Join the 2.x beta
35+
36+ The 2.0 release is currently in active development on master, but not yet released publicly. The API docs are still
37+ written for the 1.x branch and will remain that way until release. However, the API changes are minor and listed below.
38+ If you'd like to upgrade to formsy 2.x you can run:
39+
40+ ```
41+ 42+ ```
43+
44+ ** Element prop breaking changes:**
45+ - getErrorMessage() => errorMessage
46+ - getErrorMessages() => errorMessages
47+ - getValue() => value
48+ - hasValue() => hasValue,
49+ - isFormDisabled(): => isFormDisabled,
50+ - isValid(): => isValid,
51+ - isPristine(): => isPristine,
52+ - isFormSubmitted(): => isFormSubmitted,
53+ - isRequired(): => isRequired,
54+ - showRequired(): => showRequired,
55+ - showError(): => showError,
56+
3457## Quick Start
3558
3659### 1. Build a Formsy element
0 commit comments