cloudinary / cloudinary/pycloudinary

CloudinaryFileField doesn't show checkbox for clear the field

Offen
#258 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @YomesInc Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
262
Forks
134
Ø Merge
5 Std. 6 Min.
Gemergte PRs (30 T.)
5

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.