Skip to content

Add missing choice_lazy and choice_loader to EntityType inherited options#21982

Open
lacatoire wants to merge 1 commit intosymfony:7.4from
lacatoire:docs/entity-choice-lazy-options
Open

Add missing choice_lazy and choice_loader to EntityType inherited options#21982
lacatoire wants to merge 1 commit intosymfony:7.4from
lacatoire:docs/entity-choice-lazy-options

Conversation

@lacatoire
Copy link
Contributor

Summary

  • Added choice_lazy and choice_loader to the EntityType's inherited options from ChoiceType
  • These options were missing from the inherited options section, as reported in the issue
  • Uses the existing .rst.inc include files, consistent with how other inherited options are included

Related to #20104 (re-check all form types inherited options).

Fixes #21855

@carsonbot
Copy link
Collaborator

Hey!

Oh no, it looks like you have made this PR towards a branch that is not maintained anymore. :/
Could you update the PR base branch to target one of these branches instead? 6.4, 7.4, 8.0, 8.1.

Cheers!

Carsonbot

@carsonbot carsonbot added this to the 7.3 milestone Feb 12, 2026
@carsonbot carsonbot changed the title Add missing choice_lazy and choice_loader to EntityType inherited options Add missing choice_lazy and choice_loader to EntityType inherited options Feb 12, 2026
@lacatoire lacatoire changed the base branch from 7.3 to 7.4 February 20, 2026 11:34
@OskarStark OskarStark requested a review from Copilot March 13, 2026 06:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Symfony Form documentation for EntityType to correctly list missing inherited options from ChoiceType, addressing reported gaps in the “Inherited Options” section.

Changes:

  • Add choice_lazy to EntityType’s inherited options list.
  • Add choice_loader to EntityType’s inherited options list.
  • Reuse existing .rst.inc option include files for consistency with other form type docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +232 to +235
.. include:: /reference/forms/types/options/choice_lazy.rst.inc

.. include:: /reference/forms/types/options/choice_loader.rst.inc

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EntityType Field docs miss inherited choice_lazy options

3 participants