UNPKG

terra-form

Version:
11 lines 711 B
## Field Props Table | Prop Name | Type | Is Required | Default Value | Description | |-|-|-|-|-| | children| `node`| optional| `null`| Children the Field contains.| | error| `node`| optional| `null`| Error message for when the input is invalid.| | help| `node`| optional| `null`| Help element to display with the input.| | htmlFor| `string`| optional| `undefined`| The htmlFor attribute on the field label.| | isInline| `bool`| optional| `false`| Determines whether the field is an inline field.| | label| `node`| optional| `null`| Label of the input.| | labelAttrs| `object`| optional| `{}`| Attributes to attach to the label.| | required| `bool`| optional| `false`| Determines whether the field is required.|