Zeige das Widget Anfrage in der Vorschau des Seiteneditors und gib der Fassungsliste deutsche Texte
CI Feature / test (push) Successful in 5m32s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-27 22:55:40 +01:00
1 parent 2eca612108
commit 374fd95576
7 files changed
+56 -4

No files matched your search

+2 -3
View File
@@ -80,7 +80,6 @@ private static function structure(): array
->blockNumbers(false)
->reorderableWithButtons()
->collapsible()
->collapsed()
->live(),
])
->reorderableWithButtons()
@@ -98,7 +97,7 @@ private static function blocks(): array
{
return [
Block::make('field')
->label(fn (?array $state): string => 'Feld: '.(($state['label'] ?? '') ?: 'neu').self::fieldBadges($state))
->label(fn (?array $state): string => $state === null ? 'Feld' : 'Feld: '.(($state['label'] ?? '') ?: 'neu').self::fieldBadges($state))
->icon('heroicon-o-pencil-square')
->schema([
Hidden::make('key')->default(fn (): string => FormEditor::temporaryKey()),
@@ -149,7 +148,7 @@ private static function blocks(): array
self::condition('field'),
]),
Block::make('section')
->label(fn (?array $state): string => 'Teilbereich: '.(($state['label'] ?? '') ?: 'neu').(filled($state['cond']['effect'] ?? null) ? ' (Bedingung)' : ''))
->label(fn (?array $state): string => $state === null ? 'Teilbereich' : 'Teilbereich: '.(($state['label'] ?? '') ?: 'neu').(filled($state['cond']['effect'] ?? null) ? ' (Bedingung)' : ''))
->icon('heroicon-o-rectangle-group')
->schema([
Hidden::make('key')->default(fn (): string => FormEditor::temporaryKey()),