Tuesday, 10 September 2013

How to show a Entity value of type array on list action in Sonata Admin Bundle?

How to show a Entity value of type array on list action in Sonata Admin
Bundle?

How Can I display array value on entitty in sonata admin bundle list
action? I've tried to do something like this:
->add('daysOfWeek', null, array('type' => 'array'))
in configureListFields method but then I get error: "An exception has been
thrown during the rendering of a template ("Notice: Array to string
conversion"

No comments:

Post a Comment