Skip to content

No file field option in new EasyAdmin 3..? #3

Description

@bartwind

`
class GameCrudController extends AbstractCrudController
{
public static function getEntityFqcn(): string
{
return Game::class;
}

public function configureFields(string $pageName): iterable
{
    return [
        TextField::new('name'),
        IntegerField::new('min1'),
        IntegerField::new('max1'),
        IntegerField::new('min2'),
        IntegerField::new('max2'),
        TextEditorField::new('description'),
        ImageField::new('image'),

    ];
}

}

`

i used ImageField... because theres not FileField. Anybody know tutorial for new easyadmin3 fileupload on latest symfony?

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions