It's done to make it compatible with: https://github.com/rails/rails/pull/39235/files
Attach a file by drag & drop or click to upload