cloudinary / cloudinary/pycloudinary

CloudinaryFileField doesn't show checkbox for clear the field

未关闭
#258 2 条评论 0 个 reaction 已指派 1 人 已被 @YomesInc 认领 在 GitHub 查看
主要语言
Python
星标
262
派生
134
平均合并
5 小时 6 分钟
30 天内合并 PR
5

描述

Hello,
I'm ussing the CloudinaryField in model to upload the image in my project but today I need add more options like "quality" so I implemented CloudinaryFileField in forms, it's works perfect. The issue that I have is the checkbox to clear (or delete) the file is dissapeared.
So, is there a way to add the checkbox?
`logo = CloudinaryFileField(
options={
'folder': "logos/",
#'eager': [{'crop': 'fill', 'width': 150, 'height': 100}]
'overwrite': True,
'quality': 20,
})`
This is before with the checkbox
![image](https://user-images.githubusercontent.com/33046883/95345208-e11cb580-0890-11eb-9697-0418cd0939f1.png)

And when I use CloudinaryFileField
![image](https://user-images.githubusercontent.com/33046883/95345069-be8a9c80-0890-11eb-9599-bb0d7bb01bd3.png)

Regards

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。