From 95238235cb5f9516721c41a4ae5a4bd0034a6b90 Mon Sep 17 00:00:00 2001 From: Loulier Guillaume Date: Fri, 21 Dec 2018 17:44:16 +0100 Subject: [PATCH] fix(FileUpload): Addition on multiple files --- testing.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing.rst b/testing.rst index f361564ca03..90942582d54 100644 --- a/testing.rst +++ b/testing.rst @@ -792,6 +792,10 @@ their type:: // uploads a file $form['photo']->upload('/path/to/lucas.jpg'); + // In the case of a multiple file upload + $form['my_form[field][O]']->upload('/path/to/lucas.jpg'); + $form['my_form[field][1]']->upload('/path/to/lucas.jpg'); + .. tip:: If you purposefully want to select "invalid" select/radio values, see