Do not crash if the input format is not allocated yet.
Attach a file by drag & drop or click to upload