Skip to content
W WRNexusJS
content component

FormHelpText

Reusable form help text component.

@wrnexus/ui 0.2.673 props1 slots0 events

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

PropTypeRequirementDefault
idstringOptional""
textstringOptional""
classstringOptional""

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>
    }
}