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

Simple file upload

Use Simple file upload 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

simple-file-upload

{#include components/forms/simple-file-upload /}
Simple file upload — PatternFly v6 (file-upload) 
 Required: id — derives {id}-filename on the filename display input. 
 Optional: browseText (optional), clearText (optional), disabled (optional) 
 Fully wired: Browse opens the native file dialog via a visually hidden file input;
   the chosen file's name fills the readonly filename display; Clear resets both.