Correct input multiple flag

Allow the input multiple only if the options multiple is set to true in the options.

Overwise, you can always select multiple files, even if only one is being uploaded.