react-final-form
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "react-final-form", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": | ||
@@ -43,3 +43,3 @@ "🏁 High performance subscription-based form state management for React", | ||
"eslint-plugin-react": "^7.4.0", | ||
"final-form": "^1.3.0", | ||
"final-form": "^1.3.2", | ||
"flow": "^0.2.3", | ||
@@ -57,2 +57,3 @@ "flow-bin": "^0.60.1", | ||
"react": "^16.2.0", | ||
"@types/react": "^16.0.29", | ||
"react-dom": "^16.2.0", | ||
@@ -68,3 +69,3 @@ "rollup": "^0.52.0", | ||
"peerDependencies": { | ||
"final-form": "^1.3.0", | ||
"final-form": "^1.3.2", | ||
"prop-types": "^15.6.0", | ||
@@ -71,0 +72,0 @@ "react": "^15.0.0-0 || ^16.0.0-0" |
@@ -122,2 +122,4 @@ # 🏁 React Final Form | ||
* [Field Arrays](#field-arrays) | ||
* [Calculated Fields](#calculated-fields) | ||
* [Field Warnings](#field-warnings) | ||
* [Rendering](#rendering) | ||
@@ -255,2 +257,14 @@ * [API](#api) | ||
### [Calculated Fields](https://codesandbox.io/s/oq52p6v96y) | ||
Demonstrates how to use the | ||
[`final-form-calculate`](https://github.com/final-form/final-form-calculate) | ||
decorator to achieve realtime field calculations through easily defined rules. | ||
### [Field Warnings](https://codesandbox.io/s/m5qwxpr6o8) | ||
Demonstrates how the power of subscriptions and mutators can be used to build a | ||
warning engine: logic to display a message next to each field that is _not_ an | ||
error that prevents form submission. | ||
## Rendering | ||
@@ -329,3 +343,3 @@ | ||
[`FieldSubscription`](https://github.com/final-form/final-form#fieldsubscription--string-boolean-) | ||
that selects of all the items of | ||
that selects all of the items of | ||
[`FieldState`](https://github.com/final-form/final-form#fieldstate) that you | ||
@@ -481,3 +495,3 @@ wish to update for. If you don't pass a `subscription` prop, it defaults to | ||
[`FormSubscription`](https://github.com/final-form/final-form#formsubscription--string-boolean-) | ||
that selects of all the items of | ||
that selects all of the items of | ||
[`FormState`](https://github.com/final-form/final-form#formstate) that you wish | ||
@@ -577,3 +591,3 @@ to update for. If you don't pass a `subscription` prop, it defaults to _all_ of | ||
[`FormSubscription`](https://github.com/final-form/final-form#formsubscription--string-boolean-) | ||
that selects of all the items of | ||
that selects all of the items of | ||
[`FormState`](https://github.com/final-form/final-form#formstate) that you wish | ||
@@ -580,0 +594,0 @@ to update for. If you don't pass a `subscription` prop, it defaults to _all_ of |
91520
12
1503
602
38