@@ -649,38 +649,56 @@ as well as:
649649
650650#### ` batch: (fn: () => void) => void) `
651651
652+ _ ** [ DEPRECATED] ** Use ` form.batch() ` instead_
653+
652654A function that allows batch updates to be done to the form state.
653655[ See the 🏁 Final Form docs on ` batch ` ] ( https://github.com/final-form/final-form#batch-fn---void--void ) .
654656
655657#### ` blur: (name: string) => void `
656658
659+ _ ** [ DEPRECATED] ** Use ` form.blur() ` instead_
660+
657661A function to blur (mark inactive) any field.
658662
659663#### ` change: (name: string, value: any) => void `
660664
665+ _ ** [ DEPRECATED] ** Use ` form.change() ` instead_
666+
661667A function to change the value of any field.
662668
663669#### ` focus: (name: string) => void `
664670
671+ _ ** [ DEPRECATED] ** Use ` form.focus() ` instead_
672+
665673A function to focus (mark active) any field.
666674
675+ #### ` form: FormApi `
676+
677+ The 🏁 Final Form [ ` FormApi ` ] ( https://github.com/final-form/final-form#formapi ) .
678+
667679#### ` handleSubmit: (?SyntheticEvent<HTMLFormElement>) => void `
668680
669681A function intended for you to give directly to the ` <form> ` tag: ` <form onSubmit={handleSubmit}/> ` .
670682
671683#### ` initialize: (values: Object) => void `
672684
685+ _ ** [ DEPRECATED] ** Use ` form.initialize() ` instead_
686+
673687A function that initializes the form values.
674688[ See the 🏁 Final Form docs on ` initialize ` ] ( https://github.com/final-form/final-form#initialize-values-object--void ) .
675689
676690#### ` mutators?: { [string]: Function } `
677691
692+ _ ** [ DEPRECATED] ** Use ` form.mutators ` instead_
693+
678694[ See the 🏁 Final Form docs on ` mutators ` ] ( https://github.com/final-form/final-form#mutators--string-function- ) .
679695
680- #### ` reset: () => void `
696+ #### ` reset: (newInitialValues?: Object) => void `
697+
698+ _ ** [ DEPRECATED] ** Use ` form.reset() ` instead_
681699
682700A function that resets the form values to their last initialized values.
683- [ See the 🏁 Final Form docs on ` reset ` ] ( https://github.com/final-form/final-form#reset---void ) .
701+ [ See the 🏁 Final Form docs on ` reset ` ] ( https://github.com/final-form/final-form#reset-initialvalues-object --void ) .
684702
685703### ` FormSpyProps `
686704
@@ -734,34 +752,52 @@ subscribed to with the
734752
735753#### ` batch: (fn: () => void) => void) `
736754
755+ _ ** [ DEPRECATED] ** Use ` form.batch() ` instead_
756+
737757A function that allows batch updates to be done to the form state.
738758[ See the 🏁 Final Form docs on ` batch ` ] ( https://github.com/final-form/final-form#batch-fn---void--void ) .
739759
740760#### ` blur: (name: string) => void `
741761
762+ _ ** [ DEPRECATED] ** Use ` form.blur() ` instead_
763+
742764A function to blur (mark inactive) any field.
743765
744766#### ` change: (name: string, value: any) => void `
745767
768+ _ ** [ DEPRECATED] ** Use ` form.change() ` instead_
769+
746770A function to change the value of any field.
747771
748772#### ` focus: (name: string) => void `
749773
774+ _ ** [ DEPRECATED] ** Use ` form.focus() ` instead_
775+
750776A function to focus (mark active) any field.
751777
778+ #### ` form: FormApi `
779+
780+ The 🏁 Final Form [ ` FormApi ` ] ( https://github.com/final-form/final-form#formapi ) .
781+
752782#### ` initialize: (values: Object) => void `
753783
784+ _ ** [ DEPRECATED] ** Use ` form.initialize() ` instead_
785+
754786A function that initializes the form values.
755787[ See the 🏁 Final Form docs on ` initialize ` ] ( https://github.com/final-form/final-form#initialize-values-object--void ) .
756788
757789#### ` mutators?: { [string]: Function } `
758790
791+ _ ** [ DEPRECATED] ** Use ` form.mutators ` instead_
792+
759793[ See the 🏁 Final Form docs on ` mutators ` ] ( https://github.com/final-form/final-form#mutators--string-function- ) .
760794
761- #### ` reset: () => void `
795+ #### ` reset: (newInitialValues?: Object) => void `
796+
797+ _ ** [ DEPRECATED] ** Use ` form.reset() ` instead_
762798
763799A function that resets the form values to their last initialized values.
764- [ See the 🏁 Final Form docs on ` reset ` ] ( https://github.com/final-form/final-form#reset---void ) .
800+ [ See the 🏁 Final Form docs on ` reset ` ] ( https://github.com/final-form/final-form#reset-initialvalues-object --void ) .
765801
766802## Contributors
767803
0 commit comments