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

Documenting missing Form variables #2372

Copy link
Copy link
Closed
@wouterj

Description

@wouterj
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    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.