cloudinary / cloudinary/pycloudinary

CloudinaryFileField doesn't show checkbox for clear the field

Aperta
#258 2 commenti 0 reazioni 1 assegnatario Rivendicata da @YomesInc Vedi su GitHub
Lingua principale
Python
Stelle
262
Fork
134
Merge medio
5h 6m
PR unite (30g)
5

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.