FieldPropsPremium
Contains the props for the Field component that you use inside forms.
Name | Type | Default | Description |
---|---|---|---|
children? |
|
Provides child elements that are passed to the rendered component. jsx
| |
colSpan? |
|
Sets how many columns the field spans in the form layout. | |
component |
|
Can be set to a React component or to the name of an HTML element,
for example, jsx
| |
name |
|
Sets the field name in the form state.
You can use nested fields like jsx
| |
onChange? |
|
Handles changes to the field value. Use this to update related fields. The Form automatically updates its state when this fires. jsx
| |
validator? |
|
Validates the field value and returns error messages. Only synchronous functions are supported.
Use jsx
|