InlineField API
API reference docs for theInlineField
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
|
| The | _ |
|
| Message to show when the field is invalid. Will be announced to screen readers and displayed with error styling. | _ |
|
| Sets a unique identifier for the component. Useful for form accessibility and testing. | _ |
|
| When true, the field is disabled, preventing user interaction and applying disabled styling. |
|
|
| Whether user input is required on the field before form submission. Adds visual indication and accessibility attributes. |
|
|
| Label for the field that describes its purpose. Required for accessibility. | _ |
|
| A label must always be provided for assistive technology, but you may hide it from sighted users when the intent can be inferred from context. |
|
|
| Additional context displayed alongside the primary label, typically used to indicate that the field is optional. | _ |
|
| Counter object containing maxValue and value properties. "maxValue": maximum value the counter can reach. "value": current value of the counter. Used to display character count information. | _ |