Improve form behaviour to allow removing of document:

* add button to remove document ;
* fix error when document is removed ;
This commit is contained in:
2020-06-15 15:18:19 +02:00
parent a4c2b93e1c
commit 48b1bec7ea
8 changed files with 165 additions and 15 deletions

View File

@@ -0,0 +1,6 @@
services:
Chill\DocStoreBundle\Form\StoredObjectType:
arguments:
$em: '@Doctrine\ORM\EntityManagerInterface'
tags:
- { name: form.type }