symfony2admingenerator / AvocodeFormExtensionsBundle

(old-legacy) Symfony2 form extensions for Admingenerator project (also working standalone!)
Other
48 stars 31 forks source link

[CollectionUpload] Is there a limitation about type in editable field? #168

Closed sebastianlp closed 6 years ago

sebastianlp commented 9 years ago

Hi. I'm using the afe_collection_upload formtype adding some editable fields in the form option "Editable" like explain in doc:

        $builder->add('images', 'afe_collection_upload', array(
            [...more fields...]
            'editable' => ['text', 'isValid'],
            [...more fields...],
        ));

"text" is a string field, so that is ok. But in "isValid" case is a boolean type so it renders a checkbox but when I'm editing it doesn't loads the BD selected option.

sebastianlp commented 9 years ago

I think this thing came from the template_download.html.twig file. Someone else had this issue?