44
55[ ![ NPM Version] ( https://img.shields.io/npm/v/react-final-form.svg?style=flat )] ( https://www.npmjs.com/package/react-final-form )
66[ ![ NPM Downloads] ( https://img.shields.io/npm/dm/react-final-form.svg?style=flat )] ( https://www.npmjs.com/package/react-final-form )
7- [ ![ Build Status] ( https://img.shields.io/travis/erikras /react-final-form/v6.svg?style=flat )] ( https://travis-ci.org/erikras /react-final-form )
8- [ ![ codecov.io] ( https://codecov.io/gh/erikras /react-final-form/branch/master/graph/badge.svg )] ( https://codecov.io/gh/erikras /react-final-form )
7+ [ ![ Build Status] ( https://img.shields.io/travis/final-form /react-final-form/v6.svg?style=flat )] ( https://travis-ci.org/final-form /react-final-form )
8+ [ ![ codecov.io] ( https://codecov.io/gh/final-form /react-final-form/branch/master/graph/badge.svg )] ( https://codecov.io/gh/final-form /react-final-form )
99[ ![ styled with prettier] ( https://img.shields.io/badge/styled_with-prettier-ff69b4.svg )] ( https://github.com/prettier/prettier )
1010
1111✅ Zero dependencies
1212
1313✅ Only peer dependencies: React and
14- [ 🏁 Final Form] ( https://github.com/erikras /final-form#-final-form )
14+ [ 🏁 Final Form] ( https://github.com/final-form /final-form#-final-form )
1515
1616✅ Opt-in subscriptions - only update on the state you need!
1717
@@ -239,7 +239,7 @@ Demonstrates how a form can be initialized, after fetching data, by passing in
239239### [ Field Arrays] ( https://codesandbox.io/s/kx8qv67nk5 )
240240
241241Demostrates how to use the ` <FieldArray/> ` component, from
242- [ ` react-final-form-arrays ` ] ( https://github.com/erikras /react-final-form-arrays ) ,
242+ [ ` react-final-form-arrays ` ] ( https://github.com/final-form /react-final-form-arrays ) ,
243243to render an array of inputs, as well as use ` push ` , ` pop ` , and ` remove `
244244mutations.
245245
@@ -315,11 +315,11 @@ as any non-API props passed into the `<Field/>` component.
315315#### ` subscription?: FieldSubscription `
316316
317317A
318- [ ` FieldSubscription ` ] ( https://github.com/erikras /final-form#fieldsubscription--string-boolean- )
318+ [ ` FieldSubscription ` ] ( https://github.com/final-form /final-form#fieldsubscription--string-boolean- )
319319that selects of all the items of
320- [ ` FieldState ` ] ( https://github.com/erikras /final-form#fieldstate ) that you wish
321- to update for. If you don't pass a ` subscription ` prop, it defaults to _ all _ of
322- [ ` FieldState ` ] ( https://github.com/erikras /final-form#fieldstate ) .
320+ [ ` FieldState ` ] ( https://github.com/final-form /final-form#fieldstate ) that you
321+ wish to update for. If you don't pass a ` subscription ` prop, it defaults to
322+ _ all _ of [ ` FieldState ` ] ( https://github.com/final-form /final-form#fieldstate ) .
323323
324324#### ` validate?: (value: ?any, allValues: Object) => ?any `
325325
@@ -371,55 +371,55 @@ The current value of the field.
371371
372372#### ` meta.active?: boolean `
373373
374- [ See the 🏁 Final Form docs on ` active ` ] ( https://github.com/erikras /final-form#active-boolean ) .
374+ [ See the 🏁 Final Form docs on ` active ` ] ( https://github.com/final-form /final-form#active-boolean ) .
375375
376376#### ` meta.data: Object `
377377
378- [ See the 🏁 Final Form docs on ` data ` ] ( https://github.com/erikras /final-form#data-object ) .
378+ [ See the 🏁 Final Form docs on ` data ` ] ( https://github.com/final-form /final-form#data-object ) .
379379
380380#### ` meta.dirty?: boolean `
381381
382- [ See the 🏁 Final Form docs on ` dirty ` ] ( https://github.com/erikras /final-form#dirty-boolean ) .
382+ [ See the 🏁 Final Form docs on ` dirty ` ] ( https://github.com/final-form /final-form#dirty-boolean ) .
383383
384384#### ` meta.error?: any `
385385
386- [ See the 🏁 Final Form docs on ` error ` ] ( https://github.com/erikras /final-form#error-any ) .
386+ [ See the 🏁 Final Form docs on ` error ` ] ( https://github.com/final-form /final-form#error-any ) .
387387
388388#### ` meta.initial?: any `
389389
390- [ See the 🏁 Final Form docs on ` initial ` ] ( https://github.com/erikras /final-form#initial-any ) .
390+ [ See the 🏁 Final Form docs on ` initial ` ] ( https://github.com/final-form /final-form#initial-any ) .
391391
392392#### ` meta.invalid?: boolean `
393393
394- [ See the 🏁 Final Form docs on ` invalid ` ] ( https://github.com/erikras /final-form#invalid-boolean ) .
394+ [ See the 🏁 Final Form docs on ` invalid ` ] ( https://github.com/final-form /final-form#invalid-boolean ) .
395395
396396#### ` meta.pristine?: boolean `
397397
398- [ See the 🏁 Final Form docs on ` pristine ` ] ( https://github.com/erikras /final-form#pristine-boolean ) .
398+ [ See the 🏁 Final Form docs on ` pristine ` ] ( https://github.com/final-form /final-form#pristine-boolean ) .
399399
400400#### ` meta.submitError?: any `
401401
402- [ See the 🏁 Final Form docs on ` submitError ` ] ( https://github.com/erikras /final-form#submiterror-any ) .
402+ [ See the 🏁 Final Form docs on ` submitError ` ] ( https://github.com/final-form /final-form#submiterror-any ) .
403403
404404#### ` meta.submitFailed?: boolean `
405405
406- [ See the 🏁 Final Form docs on ` submitFailed ` ] ( https://github.com/erikras /final-form#submitfailed-boolean ) .
406+ [ See the 🏁 Final Form docs on ` submitFailed ` ] ( https://github.com/final-form /final-form#submitfailed-boolean ) .
407407
408408#### ` meta.submitSucceeded?: boolean `
409409
410- [ See the 🏁 Final Form docs on ` submitSucceeded ` ] ( https://github.com/erikras /final-form#submitsucceeded-boolean ) .
410+ [ See the 🏁 Final Form docs on ` submitSucceeded ` ] ( https://github.com/final-form /final-form#submitsucceeded-boolean ) .
411411
412412#### ` meta.touched?: boolean `
413413
414- [ See the 🏁 Final Form docs on ` touched ` ] ( https://github.com/erikras /final-form#touched-boolean ) .
414+ [ See the 🏁 Final Form docs on ` touched ` ] ( https://github.com/final-form /final-form#touched-boolean ) .
415415
416416#### ` meta.valid?: boolean `
417417
418- [ See the 🏁 Final Form docs on ` valid ` ] ( https://github.com/erikras /final-form#valid-boolean ) .
418+ [ See the 🏁 Final Form docs on ` valid ` ] ( https://github.com/final-form /final-form#valid-boolean ) .
419419
420420#### ` meta.visited?: boolean `
421421
422- [ See the 🏁 Final Form docs on ` visited ` ] ( https://github.com/erikras /final-form#visited-boolean ) .
422+ [ See the 🏁 Final Form docs on ` visited ` ] ( https://github.com/final-form /final-form#visited-boolean ) .
423423
424424### ` FormProps `
425425
@@ -439,19 +439,19 @@ well as any non-API props passed into the `<Form/>` component.
439439
440440#### ` debug?: DebugFunction `
441441
442- [ See the 🏁 Final Form docs on ` debug ` ] ( https://github.com/erikras /final-form#debug-debugfunction ) .
442+ [ See the 🏁 Final Form docs on ` debug ` ] ( https://github.com/final-form /final-form#debug-debugfunction ) .
443443
444444#### ` initialValues?: Object `
445445
446- [ See the 🏁 Final Form docs on ` initialValues ` ] ( https://github.com/erikras /final-form#initialvalues-object ) .
446+ [ See the 🏁 Final Form docs on ` initialValues ` ] ( https://github.com/final-form /final-form#initialvalues-object ) .
447447
448448#### ` mutators?: { [string]: Mutator } `
449449
450- [ See the 🏁 Final Form docs on ` mutators ` ] ( https://github.com/erikras /final-form#mutators--string-function- ) .
450+ [ See the 🏁 Final Form docs on ` mutators ` ] ( https://github.com/final-form /final-form#mutators--string-function- ) .
451451
452452#### ` onSubmit: (values: Object, callback: ?(errors: ?Object) => void) => ?Object | Promise<?Object> | void `
453453
454- [ See the 🏁 Final Form docs on ` onSubmit ` ] ( https://github.com/erikras /final-form#onsubmit-values-object-callback-errors-object--void--object--promiseobject--void ) .
454+ [ See the 🏁 Final Form docs on ` onSubmit ` ] ( https://github.com/final-form /final-form#onsubmit-values-object-callback-errors-object--void--object--promiseobject--void ) .
455455
456456#### ` render?: (props: FormRenderProps) => React.Node `
457457
@@ -461,36 +461,36 @@ as any non-API props passed into the `<Form/>` component.
461461#### ` subscription?: FormSubscription `
462462
463463A
464- [ ` FormSubscription ` ] ( https://github.com/erikras /final-form#formsubscription--string-boolean- )
464+ [ ` FormSubscription ` ] ( https://github.com/final-form /final-form#formsubscription--string-boolean- )
465465that selects of all the items of
466- [ ` FormState ` ] ( https://github.com/erikras /final-form#formstate ) that you wish to
467- update for. If you don't pass a ` subscription ` prop, it defaults to _ all_ of
468- [ ` FormState ` ] ( https://github.com/erikras /final-form#formstate ) .
466+ [ ` FormState ` ] ( https://github.com/final-form /final-form#formstate ) that you wish
467+ to update for. If you don't pass a ` subscription ` prop, it defaults to _ all_ of
468+ [ ` FormState ` ] ( https://github.com/final-form /final-form#formstate ) .
469469
470470#### ` validate?: (values: Object) => Object | Promise<Object> `
471471
472- [ See the 🏁 Final Form docs on ` validate ` ] ( https://github.com/erikras /final-form#validate-values-object--object--promiseobject ) .
472+ [ See the 🏁 Final Form docs on ` validate ` ] ( https://github.com/final-form /final-form#validate-values-object--object--promiseobject ) .
473473
474474#### ` validateOnBlur?: boolean `
475475
476- [ See the 🏁 Final Form docs on ` validateOnBlur ` ] ( https://github.com/erikras /final-form#validateonblur-boolean ) .
476+ [ See the 🏁 Final Form docs on ` validateOnBlur ` ] ( https://github.com/final-form /final-form#validateonblur-boolean ) .
477477
478478### ` FormRenderProps `
479479
480480These are the props that [ ` <Form/> ` ] ( #form--reactcomponenttypeformprops )
481481provides to your render function or component. Keep in mind that the values you
482482receive here are dependent upon which values of
483- [ ` FormState ` ] ( https://github.com/erikras /final-form#formstate ) you have
483+ [ ` FormState ` ] ( https://github.com/final-form /final-form#formstate ) you have
484484subscribed to with the
485- [ ` subscription ` prop] ( https://github.com/erikras /react-final-form#subscription-formsubscription ) .
485+ [ ` subscription ` prop] ( https://github.com/final-form /react-final-form#subscription-formsubscription ) .
486486This object contains everything in
487- [ 🏁 Final Form's ` FormState ` ] ( https://github.com/erikras /final-form#formstate )
487+ [ 🏁 Final Form's ` FormState ` ] ( https://github.com/final-form /final-form#formstate )
488488as well as:
489489
490490#### ` batch: (fn: () => void) => void) `
491491
492492A function that allows batch updates to be done to the form state.
493- [ See the 🏁 Final Form docs on ` batch ` ] ( https://github.com/erikras /final-form#batch-fn---void--void ) .
493+ [ See the 🏁 Final Form docs on ` batch ` ] ( https://github.com/final-form /final-form#batch-fn---void--void ) .
494494
495495#### ` blur: (name: string) => void `
496496
@@ -512,16 +512,16 @@ onSubmit={handleSubmit}/>`.
512512#### ` initialize: (values: Object) => void `
513513
514514A function that initializes the form values.
515- [ See the 🏁 Final Form docs on ` initialize ` ] ( https://github.com/erikras /final-form#initialize-values-object--void ) .
515+ [ See the 🏁 Final Form docs on ` initialize ` ] ( https://github.com/final-form /final-form#initialize-values-object--void ) .
516516
517517#### ` mutators?: { [string]: Function } `
518518
519- [ See the 🏁 Final Form docs on ` mutators ` ] ( https://github.com/erikras /final-form#mutators--string-function- ) .
519+ [ See the 🏁 Final Form docs on ` mutators ` ] ( https://github.com/final-form /final-form#mutators--string-function- ) .
520520
521521#### ` reset: () => void `
522522
523523A function that resets the form values to their last initialized values.
524- [ See the 🏁 Final Form docs on ` reset ` ] ( https://github.com/erikras /final-form#reset---void ) .
524+ [ See the 🏁 Final Form docs on ` reset ` ] ( https://github.com/final-form /final-form#reset---void ) .
525525
526526### ` FormSpyProps `
527527
@@ -547,19 +547,19 @@ well as any non-API props passed into the `<FormSpy/>` component.
547547#### ` formSubscription?: FormSubscription `
548548
549549A
550- [ ` FormSubscription ` ] ( https://github.com/erikras /final-form#formsubscription--string-boolean- )
550+ [ ` FormSubscription ` ] ( https://github.com/final-form /final-form#formsubscription--string-boolean- )
551551that selects of all the items of
552- [ ` FormState ` ] ( https://github.com/erikras /final-form#formstate ) that you wish to
553- update for. If you don't pass a ` subscription ` prop, it defaults to _ all_ of
554- [ ` FormState ` ] ( https://github.com/erikras /final-form#formstate ) .
552+ [ ` FormState ` ] ( https://github.com/final-form /final-form#formstate ) that you wish
553+ to update for. If you don't pass a ` subscription ` prop, it defaults to _ all_ of
554+ [ ` FormState ` ] ( https://github.com/final-form /final-form#formstate ) .
555555
556556### ` FormSpyRenderProps `
557557
558558These are the props that
559559[ ` <FormSpy/> ` ] ( #formspy--reactcomponenttypeformspyprops ) provides to your render
560560function or component. These props are of type
561- [ ` FormState ` ] ( https://github.com/erikras /final-form#formstate ) . Keep in mind
561+ [ ` FormState ` ] ( https://github.com/final-form /final-form#formstate ) . Keep in mind
562562that the values you receive here are dependent upon which values of
563- [ ` FormState ` ] ( https://github.com/erikras /final-form#formstate ) you have
563+ [ ` FormState ` ] ( https://github.com/final-form /final-form#formstate ) you have
564564subscribed to with the
565- [ ` subscription ` prop] ( https://github.com/erikras /react-final-form#subscription-formsubscription ) .
565+ [ ` subscription ` prop] ( https://github.com/final-form /react-final-form#subscription-formsubscription ) .
0 commit comments