IphpFileStoreBundle icon indicating copy to clipboard operation
IphpFileStoreBundle copied to clipboard

when i click to button of "add new" field of photo is reset for sonata_type_collection

Open volkan opened this issue 10 years ago • 5 comments

->with('Images')
            ->add('images', 'sonata_type_collection', array(
                'by_reference'       => false,
                'cascade_validation' => true,
            ), array(
                'edit' => 'inline',
                'inline' => 'table'
            ))
            ->end()

Clicks before Before button of add new

Clicks after After button of add new

volkan avatar Feb 01 '15 18:02 volkan

+1

Medusox avatar Feb 21 '15 11:02 Medusox

Unfortunately, this behavior is due to the implementation of sonata_type_collection

vitiko avatar Mar 11 '15 07:03 vitiko

@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 avatar Sep 14 '15 18:09 rifats

@rifats I have never seen this problem. By the way i do not use this plugin.

volkan avatar Sep 15 '15 05:09 volkan