Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Book for Symfony 6 -> Setting up an Admin Backend -> onlyOnIndex() #19782

Closed as not planned
Labels
@J3r3mV

Description

@J3r3mV

Hello community,

In the code of :https://symfony.com/doc/6.2/the-fast-track/en/9-backend.html#customizing-easyadmin

The following code:

yield TextField::new('photoFilename')             ->onlyOnIndex()         ;

Prevents the possibility of entering the 'photoFilename' when creating and editing comments, I don't think that was intended ?! Otherwise how could we complete it ?

I had to remove ->onlyOnIndex() to have the right!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp