Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bartwind opened this issue Sep 13, 2020 · 0 comments
Open

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

bartwind opened this issue Sep 13, 2020 · 0 comments

Comments

@bartwind
Copy link

`
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant