Explorar el Código

Merge branch 'master' of github.com:transloadit/uppy

Kevin van Zonneveld hace 6 años
padre
commit
653a814af8
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      website/src/docs/xhrupload.md

+ 4 - 2
website/src/docs/xhrupload.md

@@ -67,8 +67,10 @@ When `formData` is set to true, this is used as the form field name for the file
 ### `metaFields: null`
 ### `metaFields: null`
 
 
 Pass an array of field names to limit the metadata fields that will be sent to the endpoint as form fields.
 Pass an array of field names to limit the metadata fields that will be sent to the endpoint as form fields.
-For example, `metaFields: ['name']` will only send the `name` field.
-Setting this to `null` (the default) will send *all* metadata fields.
+
+* Set this to `['name']` to only send the `name` field.
+* Set this to `null` (the default) to send *all* metadata fields.
+* Set this to an empty array `[]` to not send any fields.
 
 
 If the `formData` option is set to false, `metaFields` has no effect.
 If the `formData` option is set to false, `metaFields` has no effect.