You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/Inputs.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,8 @@ All input components accept the following props:
47
47
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`| Optional |`mixed`| - | Value to be set when the property is `undefined`|
52
52
|`format`| Optional |`Function`| - | Callback taking the value from the form state and the name of the field, and returns the input value. See the [Transforming Input Value](./Inputs.md#transforming-input-value-tofrom-record) section. |
53
53
|`parse`| Optional |`Function`| - | Callback taking the input value and name of the field, and returns the value you want stored in the form state. See the [Transforming Input Value](./Inputs.md#transforming-input-value-tofrom-record) section. |
0 commit comments