schema-components - v3.7.0
    Preparing search index...

    Function constraintHint

    • Derive the constraint-hint descriptor for a field at inputId. Returns undefined when the field has no constraint worth announcing — callers skip rendering the <small> element entirely rather than emitting an empty node.

      Shares its text builder with html/a11y.ts so the two renderers always announce the same constraint copy for the same schema field.

      Parameters

      Returns Hint | undefined