You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing
I have a little issue regarding the image_thumbnail.html example.
Issue is, that if an image already is saved and imagefield is required, if i render the form and do not select a new image, my browser will tell me that i need to pick a file. I tried to fix it this way, but it did not solve my issue:
old:
{# image_thumbnail.html #}
....some lines taken ot....
<input type="{{ type }}" name="{{ name }}"{% if required %} required{% endif %}{% include "floppyforms/attrs.html" %}>
new:
{# image_thumbnail.html #}
....some lines taken ot....
<input type="{{ type }}" name="{{ name }}"{% if required and not value.url %} required{% endif %}{% include "floppyforms/attrs.html" %}>
How to fix it? :)
The text was updated successfully, but these errors were encountered:
Hi
Thanks for sharing
I have a little issue regarding the image_thumbnail.html example.
Issue is, that if an image already is saved and imagefield is required, if i render the form and do not select a new image, my browser will tell me that i need to pick a file. I tried to fix it this way, but it did not solve my issue:
old:
new:
How to fix it? :)
The text was updated successfully, but these errors were encountered: