Skip to content

Field iphp_file don't show completely #40

Description

@silasrm

Hi,

Congratulation for the bundle, this is great.

I'm using in 4 different entities, but in User entitity, after update to v2.5 or v2.5.1 the file field doesn't appear in form https://cloudup.com/c0COfPVY8yB. In the others, everything is ok https://cloudup.com/cSVF0MSU8sq.

Follow my config:

//form type
->add(
'foto',
'iphp_file',
array(
'label' => 'Foto',
'required' => false,
)
)
// entity /** * @var array * * @Assert\File(maxSize="1M", mimeTypes={"image/jpeg", "image/pjpeg", "image/png", "image/x-png"}) * @FileStore\UploadableField(mapping="foto_usuario") * @ORM\Column(name="foto", type="array", nullable=true) **/protected$foto;
// configfoto_usuario:
upload_dir: %kernel.root_dir%/../web/uploads/usuarios/imagens/upload_path: /uploads/usuarios/imagensnamer:
property:
params: { field : id }translit: ~

With this same code, but version v0.2.3, all run without problem!

Thank's!

Activity

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