We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 615a680 commit ab186adCopy full SHA for ab186ad
src/Controller/Admin/QrCrudController.php
@@ -63,7 +63,8 @@ public function configureFields(string $pageName): iterable
63
return [
64
TextField::new('title', new TranslatableMessage('qr.title'))
65
->setTemplatePath('fields/link/link_to_edit.html.twig'),
66
- TextEditorField::new('description', new TranslatableMessage('qr.description')),
+ TextEditorField::new('description', new TranslatableMessage('qr.description'))
67
+ ->formatValue(fn ($value) => nl2br($value)),
68
CollectionField::new('urls', new TranslatableMessage('qr.urls'))
69
->allowAdd()
70
->allowDelete()
0 commit comments