See this for more details: https://github.com/yiisoft/yii/pull/3300
Attach a file by drag & drop or click to upload