Skip to content

Documenting missing Form variables #2372

Closed
@wouterj

Description

@wouterj
Member

Some form types got some extra variables or override the common form variables. In fact, those common variables are the variables set on the main form type (Field).

How to document it

These variables should get documented in a new section in each Form Type article. They should get the same format as the Form Type Options. Inherit options should not get documented, as those are already documented in reference/form/twig_reference.

The form variables

The variables link to the code where they are defined. Try to find out a use case of it and possible values and write some small description about those (with some link to the option which is used for the variable). A code example would be great too!

Checkbox

Choice

Collection

DateTime

Date

Money

Radio

Time

Activity

added a commit that references this issue on Mar 9, 2014

feature #3588 Documented all form variables (WouterJ)

weaverryan

weaverryan commented on Mar 9, 2014

@weaverryan
Member

An old, big ticket closed - awesome :) - great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FormactionableClear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @weaverryan@wouterj

        Issue actions

          Documenting missing Form variables · Issue #2372 · symfony/symfony-docs