python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to use Association field in Symfony EasyAdmin 4
When I use:
public function configureFields(string $pageName): iterable
{
return [
AssociationField::new('XYZ')
];
}`
I get error "Object of class App\Entity\XY...
Tim
Votes: 0
Answers: 1
How to create different the authentication error message in Symfony 5.4?
By default, it shows error "Invalid credentials.". I've already seen answers like "Go to translations, create security.en.yaml and type this:
# translations/security.en.yaml
'Invalid cr...
Alexander
Votes: 0
Answers: 1
Symfony doctrine:execute can't find Doctrine migrations in custom folder
We've set our configuration file for doctrine migrations as the following:
doctrine_migrations:
migrations_paths:
'App\Migrations': "%kernel.project_dir%/src/Migrations"
Our mig...
sbkevin
Votes: 0
Answers: 1
Assert ALL and TYPE in it for array
What I am trying to achieve is:
#[Assert\All(
new Assert\NotBlank(),
new Assert\Type(type: 'string')
)]
private ?array $roles;
But the Type assertion doesn't work. Shows this ...
Toma Tomov
Votes: 0
Answers: 0