Skip to content

Commit 376fc69

Browse files
committed
Removed deprecated api from docs
1 parent c851c78 commit 376fc69

File tree

2 files changed

+0
-95
lines changed

2 files changed

+0
-95
lines changed

README.md

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -767,31 +767,6 @@ This object contains everything in
767767
[🏁 Final Form's `FormState`](https://github.com/final-form/final-form#formstate)
768768
as well as:
769769

770-
#### `batch: (fn: () => void) => void)`
771-
772-
_**[DEPRECATED]** Use `form.batch()` instead_
773-
774-
A function that allows batch updates to be done to the form state.
775-
[See the 🏁 Final Form docs on `batch`](https://github.com/final-form/final-form#batch-fn---void--void).
776-
777-
#### `blur: (name: string) => void`
778-
779-
_**[DEPRECATED]** Use `form.blur()` instead_
780-
781-
A function to blur (mark inactive) any field.
782-
783-
#### `change: (name: string, value: any) => void`
784-
785-
_**[DEPRECATED]** Use `form.change()` instead_
786-
787-
A function to change the value of any field.
788-
789-
#### `focus: (name: string) => void`
790-
791-
_**[DEPRECATED]** Use `form.focus()` instead_
792-
793-
A function to focus (mark active) any field.
794-
795770
#### `form: FormApi`
796771

797772
The 🏁 Final Form [`FormApi`](https://github.com/final-form/final-form#formapi).
@@ -800,26 +775,6 @@ The 🏁 Final Form [`FormApi`](https://github.com/final-form/final-form#formapi
800775

801776
A function intended for you to give directly to the `<form>` tag: `<form onSubmit={handleSubmit}/>`.
802777

803-
#### `initialize: (values: Object) => void`
804-
805-
_**[DEPRECATED]** Use `form.initialize()` instead_
806-
807-
A function that initializes the form values.
808-
[See the 🏁 Final Form docs on `initialize`](https://github.com/final-form/final-form#initialize-values-object--void).
809-
810-
#### `mutators?: { [string]: Function }`
811-
812-
_**[DEPRECATED]** Use `form.mutators` instead_
813-
814-
[See the 🏁 Final Form docs on `mutators`](https://github.com/final-form/final-form#mutators--string-function-).
815-
816-
#### `reset: (newInitialValues?: Object) => void`
817-
818-
_**[DEPRECATED]** Use `form.reset()` instead_
819-
820-
A function that resets the form values to their last initialized values.
821-
[See the 🏁 Final Form docs on `reset`](https://github.com/final-form/final-form#reset-initialvalues-object--void).
822-
823778
### `FormSpyProps`
824779

825780
These are the props that you pass to

package-lock.json

Lines changed: 0 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)