Live demo — this example is server-driven; run the showcase locally for the interactive version.

Text input

Use Text input straight from a Qute template — parameters and slots instead of Java builders. This reference is generated from the runtime template sources: each template documents its parameters and slots in the header comment shown beneath its include line.

Templates

text-input

{#include components/forms/text-input /}
Text input — PatternFly v6 (form-control wrapper around <input>) 
 Required: id — used for the input's name; derives {id}-field for form submission wiring. 
 Optional: type (text|password|email|number|tel|url|search|date|datetime-local|month|time, default text), 
           placeholder, value, disabled, readonly, required, expanded, 
           validated (success|warning|error — emits pf-m-* + status icon), 
           iconName (Font Awesome icon name — renders as prefix utility icon) 
 Model mode: pass textInput=<org.sitenetsoft.quarkus.pha.model.TextInput>.