Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update documentation to describe ArrayChoiceList usage #5405

Copy link
Copy link
Closed
@ryanotella

Description

@ryanotella
Issue body actions

For users upgrading from 2.3 to 2.7, there are a lot of deprecation warnings around ChoiceList, SimpleChoiceList and ChoiceListInterface. The recommendation is to use ArrayChoiceList instead. However, there currently isn't any documentation about how to use that, and the current 2.7 documentation suggests using the deprecated ChoiceList. See http://symfony.com/doc/current/reference/forms/types/choice.html#choice-list

This is a very complicated area of Symfony forms which has been in a bit of flux due to potential API changes, so it would be good to have some examples of usage.

I'd update the docs myself, but I haven't figured out how ArrayChoiceList actually works yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.