only add scope field conditionally in personDocumentType analogue to SingleTaskType

This commit is contained in:
2022-02-09 10:15:09 +01:00
committed by Julien Fastré
parent 1c055e842e
commit a28d8a7287
2 changed files with 20 additions and 7 deletions

View File

@@ -16,8 +16,10 @@ services:
Chill\DocStoreBundle\Form\PersonDocumentType:
class: Chill\DocStoreBundle\Form\PersonDocumentType
arguments:
- "@chill.main.helper.translatable_string"
autowire: true
autoconfigure: true
# arguments:
# - "@chill.main.helper.translatable_string"
tags:
- { name: form.type, alias: chill_docstorebundle_form_document }