IphpFileStoreBundle
IphpFileStoreBundle copied to clipboard
when i click to button of "add new" field of photo is reset for sonata_type_collection
->with('Images')
->add('images', 'sonata_type_collection', array(
'by_reference' => false,
'cascade_validation' => true,
), array(
'edit' => 'inline',
'inline' => 'table'
))
->end()
Clicks before

Clicks after

+1
Unfortunately, this behavior is due to the implementation of sonata_type_collection
@volkan , are there any problems with saving new item with image? I have "This form should not contain extra fields" error. Updating existing records works, even if I load a new image to replace the old.
@rifats I have never seen this problem. By the way i do not use this plugin.