Skip to content

Loading…

Add support for 'collection' type in both the doc and the sandbox #59

Open
willdurand opened this Issue · 7 comments

7 participants

@willdurand
Nelmio member

No description provided.

@damienalexandre

Is this about the array=true option of @QueryParam? I may be working on it soon!

@mtotheikle

Anyone make progress on this?

@hutchic

This issue is reslved and references 213 while 213 is resolved and references this issue?

@willdurand
Nelmio member

No. The other one is a duplicate entry. That one is the one to resolve.

@AlmogBaku

@willdurand do you have a lead? I want to help solving this issue.

@foaly-nr1

@AlmogBaku The field type collection is currently displayed as below. Ideally it would display a collection of fields of the correct field type.

screen shot 2015-10-07 at 22 50 12

Also, 'required' isn't recognised when set in the options array:

$builder->add('tagged', 'collection', [
    'type' => 'integer',
    'options'  => [
        'required'  => false,
    ],
    'description' => 'IDs of users tagged in this post',
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.