-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Crawler is detached from the form fill helpers #138
Comments
Are you using the |
In this case not and would like not to |
Ok, yeah, this is currently a problem with KernelBrowser. The mink browser kit driver keeps track of the form fields in memory. I'm fairly certain |
So is it possible to do this after #125 ? As I'm writing tests again and again for autocomplete to remember that it won't work :D |
I'm having problems with
selectFieldOption
when it is dynamic. It's impossible to select a value that is added via JS.So I'm trying to add it dynamically and then select it, but the thing is that in
->use(function (Crawler $crawler)
callback what I modify via crawler is not trully sent as form data.In symfony/ux#1334 it was suggested to use
ChoiceFormField::addChoice($node)
but that doesn't work with non-multiple select element. So I though I will do this:But probably the crawler does not modify Mink's document? Could we have a helper method to add dynamic values for this case?
The text was updated successfully, but these errors were encountered: