Seems like this was overlooked in PR #31142. See also issue #17082.
Attach a file by drag & drop or click to upload