We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I have a problem with iphp_file field. I can't display it in Sonata Admin :
/** * @ORM\Table(name="produit") */ class Produit { ... /** * @var string * * @Assert\File( maxSize="20M") * @FileStore\UploadableField(mapping="image") * @ORM\Column(type="array",nullable = true) */ private $image; ... }
iphp_file_store: mappings: image: upload_dir: %kernel.root_dir%/../web/files upload_path: /files delete_on_remove: true overwrite_duplicates: true directory_namer: property: params: { field : "produitFolder"} namer: translit: ~ property: params: { field : id}
protected function configureFormFields(FormMapper $formMapper) { $formMapper ->add('image', 'iphp_file') }
The text was updated successfully, but these errors were encountered:
hello, I Have the same problem, some answer?
Sorry, something went wrong.
all my problem solved, adding the annotation
example:
/**
No branches or pull requests
Hello,
I have a problem with iphp_file field. I can't display it in Sonata Admin :
The text was updated successfully, but these errors were encountered: