|
Fluid 1.3.0
Material Design for QtQuick and Qml
|
A single-line Material Design 3 text field. More...
A single-line Material Design 3 text field.
TextField provides filled and outlined containers, a floating label, placeholder and supporting text, error presentation, textual affixes, and optional leading and trailing content. Logical placement mirrors in right-to-left layouts.
The inherited text-input API remains available without alteration. Use text for the value, placeholderText for an input hint, validator and acceptableInput for validation, echoMode for obscured input, and readOnly to prevent editing. Selection APIs such as selectAll(), selectedText, selectionStart, and selectionEnd are preserved, as are the inherited accepted(), editingFinished(), and textEdited() signals.
For more information see the Material Design 3 text-field specification.
Definition at line 35 of file TextField.qml.