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
`<ShowGuesser>` accepts all props accepted by both React Admin [`<Show>` component](https://marmelab.com/react-admin/Show.html) and [`<SimpleShowLayout>` component](https://marmelab.com/react-admin/SimpleShowLayout.html).
381
381
382
-
383
382
## FieldGuesser
384
383
385
384
Renders a field according to its type, using the [schema analyzer](./components.md#hydra-schema-analyzer).
@@ -445,4 +444,3 @@ You can also pass props that are specific to a certain input component. For exam
React Admin already comes with several [built-in validators](https://marmelab.com/react-admin/Validation.html#per-input-validation-built-in-field-validators), such as:
84
84
85
-
*`required(message)` if the field is mandatory,
86
-
*`minValue(min, message)` to specify a minimum value for integers,
87
-
*`maxValue(max, message)` to specify a maximum value for integers,
88
-
*`minLength(min, message)` to specify a minimum length for strings,
89
-
*`maxLength(max, message)` to specify a maximum length for strings,
90
-
*`number(message)` to check that the input is a valid number,
91
-
*`email(message)` to check that the input is a valid email address,
92
-
*`regex(pattern, message)` to validate that the input matches a regular expression,
93
-
*`choices(list, message)` to validate that the input is within a given list
85
+
-`required(message)` if the field is mandatory,
86
+
-`minValue(min, message)` to specify a minimum value for integers,
87
+
-`maxValue(max, message)` to specify a maximum value for integers,
88
+
-`minLength(min, message)` to specify a minimum length for strings,
89
+
-`maxLength(max, message)` to specify a maximum length for strings,
90
+
-`number(message)` to check that the input is a valid number,
91
+
-`email(message)` to check that the input is a valid email address,
92
+
-`regex(pattern, message)` to validate that the input matches a regular expression,
93
+
-`choices(list, message)` to validate that the input is within a given list
94
94
95
95
React Admin also supports [Global Validation](https://marmelab.com/react-admin/Validation.html#global-validation) (at the form level).
0 commit comments