OctantisWeb.Components.Polaris.Choice (octantis v0.1.12)
View SourceConsumed by Checkbox and Radio button. Undocumented by Shopify.
See
Summary
Functions
Consumed by Checkbox and Radio button. Undocumented by Shopify.
Functions
Consumed by Checkbox and Radio button. Undocumented by Shopify.
See
- https://github.com/Shopify/polaris/blob/main/polaris-react/src/components/Choice/Choice.tsx
- https://github.com/Shopify/polaris/blob/main/polaris-react/src/components/Collapsible/Collapsible.tsx
Attributes
id
(:string
) - A unique identifier for the choice.label
(:string
) - Label for the choice.disabled
(:boolean
) - Whether the associated form control is disabled.label_hidden
(:boolean
) - Visually hide the label.label_class
(:string
) - Added to the label element. Defaults tonil
.fill
(:list
) - Grow to fill the space. Equivalent to width: 100%; height: 100%. Defaults tonil
.error
(:string
) - Display an error message.help_text
(:string
) - Additional text to aide in use. Will add a wrapping <div>.tone
(:string
) - Indicates the tone of the choice. Defaults tonil
.
Slots
inner_block
- Content to display inside the choice.