UNPKG

terra-form

Version:
14 lines 1.1 kB
## Control Props Table | Prop Name | Type | Is Required | Default Value | Description | |-|-|-|-|-| | checked| `bool`| optional| `undefined`| The checked property of the Input element. Use this to generate a controlled Control Element.| | defaultChecked| `bool`| optional| `undefined`| The checked property of the Input element. Use this to generate an uncontrolled Control Element.| | id| `string`| optional| `undefined`| The id of the input field.| | inputAttrs| `object`| optional| `{}`| Additional attributes for the input object.| | isInline| `bool`| optional| `false`| Whether the form element is inline or not.| | labelText| `node`| optional| `null`| Text of the label.| | labelTextAttrs| `object`| optional| `{}`| Additional objects for the text object.| | name| `string`| optional| `null`| Name of the input attribute.| | onChange| `func`| optional| `undefined`| Function to trigger when user clicks on the input. Provide a function to create a controlled input.| | type| `string`| optional| `null`| The input type.| | value| `string`| optional| `undefined`| The value of the input element.|