We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a form with a AutoComplete field for a ManyToMany relation:
$builder ->add('categories', CategoryAutocompleteField::class, [ 'label' => 'Kategorie(n)', 'required' => true, 'class' => Category::class, 'autocomplete' => true, 'multiple' => true, 'attr' => [ 'placeholder' => 'Kategorie(n) wählen', ], ]) ...
I try to submit the form in a WebTestCase:
$client->submitForm('Programm erstellen', [ 'program[title]' => 'Unit-Test 1', 'program[description]' => 'Unit-Test Description', 'program[durationMinutes]' => 120, 'program[categories]' => [1], 'program[startLocation]' => 1, 'program[endLocation]' => 4, 'program[enabled]' => true, ]);
When I run the test, I get the erorr InvalidArgumentException: Input "program[categories]" cannot take "1" as a value (possible values: "")..
InvalidArgumentException: Input "program[categories]" cannot take "1" as a value (possible values: "").
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a form with a AutoComplete field for a ManyToMany relation:
I try to submit the form in a WebTestCase:
When I run the test, I get the erorr
InvalidArgumentException: Input "program[categories]" cannot take "1" as a value (possible values: "").
.The text was updated successfully, but these errors were encountered: