FormHelpText
Reusable form help text component.
Usage
Components are auto-discovered. Use the component directly in any .wrn view:
<FormHelpText
id="id"
text="text"
/>Legacy mount name: data-component="FormHelpText".
Props and attributes
| Prop | Type | Requirement | Default |
|---|---|---|---|
id | string | Optional | "" |
text | string | Optional | "" |
class | string | Optional | "" |
Slots
default
Events
This component does not declare a custom event.
Source contract
Installed source: components/FormHelpText.wrn
component FormHelpText {
props {
id = ""
text = ""
class = ""
}
view {
<p id="{id}" class="wire-field-message wire-field-message--help {class}">{text}<slot />
</p>
}
}