Closed
Description
When a DomCrawler\Form
is initialized with an <input type="image" name="bar">
element, it will end up in $form->getValues()
as "bar", instead of "bar.x" and "bar.y". Because of this, there is no way to set the values for the x and y coordinates and it will incorrectly miss those variables in the GET/POST data, would the form be submitted.
Ran into this issue while using fabpot/Goutte, where my submitted form did not get picked up properly by the receiving webserver, because the "imageinputname".x and "imageinputname".y were not present in the POST data.
Metadata
Metadata
Assignees
Labels
Ideal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)