Skip to content

Commit

Permalink
add more config options
Browse files Browse the repository at this point in the history
  • Loading branch information
chraebsli committed Jun 18, 2024
1 parent bd117be commit 809e124
Showing 1 changed file with 33 additions and 14 deletions.
47 changes: 33 additions & 14 deletions blueprints/form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ form:
type: text
label: Platzhalter

.classes:
toggleable: true
type: text
label: CSS Klassen

.validate.required:
toggleable: true
type: toggle
label: Erforderlich
options:
1: Aktiviert
0: Deaktiviert

.fields:
toggleable: true
type: list
Expand All @@ -65,16 +78,16 @@ form:
max: 4
fields:
.type:
default: column
readonly: true
type: text
default: column
classes: hidden

readonly: true
.fields:
type: list
style: vertical
max: 1
fields:

.type:
type: select
label: Typ
Expand All @@ -88,12 +101,22 @@ form:
hidden: Hidden
honeypot: Honeypot
columns: Columns

.label:
toggleable: true
type: text
label: Label

.placeholder:
toggleable: true
type: text
label: Platzhalter

.classes:
toggleable: true
type: text
label: CSS Klassen

.validate.required:
toggleable: true
type: toggle
Expand All @@ -102,14 +125,6 @@ form:
1: Aktiviert
0: Deaktiviert

.validate.required:
toggleable: true
type: toggle
label: Erforderlich
options:
1: Aktiviert
0: Deaktiviert

buttons:
type: section
title: Formular Knöpfe
Expand All @@ -124,11 +139,15 @@ form:
type: select
label: Typ
options:
submit: Absenden
reset: Zurücksetzen
submit: Submit
reset: Reset
.value:
type: text
label: Label
.classes:
toggleable: true
type: text
label: CSS Klassen

process:
type: section
Expand All @@ -137,7 +156,7 @@ form:
underline: true
fields:
header.form.process.display:
type: pages
type: text
label: Seite
help: Seite auf die nach dem Absenden des Formulars weitergeleitet wird
header.form.process.message:
Expand Down

0 comments on commit 809e124

Please sign in to comment.