Use "read-only" rather than "read only" See merge request gitlab-org/gitlab!59065
Attach a file by drag & drop or click to upload