Skip to content

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

Open

Description

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

Activity

  1. Medusox commented on Feb 21, 2015

    @Medusox

    +1

  2. vitiko commented on Mar 11, 2015

    @vitiko
    Owner

    Unfortunately, this behavior is due to the implementation of sonata_type_collection

  3. rifats commented on Sep 14, 2015

    @rifats

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

  4. volkan commented on Sep 15, 2015

    @volkan
    Author

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions