From fbb36c1e10615b63d1f2df8c9f89bd2495b274a9 Mon Sep 17 00:00:00 2001 From: asvarcas Date: Tue, 19 Nov 2019 10:29:54 -0300 Subject: [PATCH] Docs anchors not workings. --- docs/Inputs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Inputs.md b/docs/Inputs.md index 78b36e89f06..8a1180bd6d9 100644 --- a/docs/Inputs.md +++ b/docs/Inputs.md @@ -43,8 +43,8 @@ All input components accept the following props: React-admin uses [react-final-form](https://final-form.org/docs/react-final-form/getting-started) to control form inputs. Each input component also accepts all react-final-form [`FieldProps`](https://final-form.org/docs/react-final-form/types/FieldProps), including: * `initialValue`: Value to be set when the property is `null` or `undefined`. -* `format`: A function that takes the value from the form values and the name of the field and formats the value to give to the input. See the [Transforming Input Value](./Inputs.md#transforming-input-value-to-from-record) section. -* [`parse`](https://final-form.org/docs/react-final-form/types/FieldProps#parse): A function that takes the value from the input and name of the field and converts the value into the value you want stored as this field's value in the form. See the [Transforming Input Value](./Inputs.md#transforming-input-value-to-from-record) section. +* `format`: A function that takes the value from the form values and the name of the field and formats the value to give to the input. See the [Transforming Input Value](./Inputs.md#transforming-input-value-tofrom-record) section. +* [`parse`](https://final-form.org/docs/react-final-form/types/FieldProps#parse): A function that takes the value from the input and name of the field and converts the value into the value you want stored as this field's value in the form. See the [Transforming Input Value](./Inputs.md#transforming-input-value-tofrom-record) section. Additional props are passed down to the underlying component (usually a material-ui component). For instance, when setting the `className` prop on a `TextInput` component, the underlying material-ui `` receives it, and renders with custom styles. You can also set the underlying component `variant` and `margin` that way.