textfield
Diese Komponenten stellt ein einzeiliges Textfeld dar.
Konfiguration
Für allgemeine Konfigurations-Optionen siehe Allgemeine Komponenten Konfiguration.
Spezifische Konfiguration
type("textfield")-
Typ der Komponente.
value(Binding | string)-
Wert des Feldes.
Allgemeine Konfiguration
Neben den für alle gültigen Konfigurationen, können optional folgende Konfigurationen gesetzt werden: disabled, errorTarget, icon, label, label Einstellungen, onChange, readOnly, required.
Beispiel
textfield.json
{
"$schema": "https://forms.virtimo.net/5.1.0/schema.json",
"metaData": {
"id": 0,
"version": 0
},
"configuration": {
},
"components": [
{
"type": "container",
"label": "Textfield Component Example",
"components": [
{
"type": "textfield",
"label": "My Textfield",
"value": "Hello World"
},
{
"type": "textfield",
"value": "${/data/text}"
}
]
}
],
"state": {
"data": {
"text": "Some Text"
}
}
}
Eingebettete Vorschau
Keywords: