Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
volkan opened this issue Feb 1, 2015 · 5 comments

Comments

@volkan
Copy link

volkan commented Feb 1, 2015

->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

@Medusox
Copy link

Medusox commented Feb 21, 2015

+1

@vitiko
Copy link
Owner

vitiko commented Mar 11, 2015

Unfortunately, this behavior is due to the implementation of sonata_type_collection

@rifats
Copy link

rifats commented Sep 14, 2015

@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.

@volkan
Copy link
Author

volkan commented Sep 15, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@volkan @vitiko @rifats @Medusox and others