Skip to content

Commit

Permalink
Fixes jazzband#176 -- Use required=0 for hidden textarea in GIS widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmuellegger committed Sep 1, 2016
1 parent 0eeb885 commit 0c95d95
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
---------

1.8.0 (in development)
~~~~~~~~~~~~~~~~~~~~~~

* `#176`_: Fix HTML validation for hidden textarea used with GIS widgets.

.. _#176: https://github.com/gregmuellegger/django-floppyforms/issues/176

1.7.0
~~~~~

Expand Down
2 changes: 1 addition & 1 deletion floppyforms/templates/floppyforms/gis/openlayers.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div id="{{ attrs.id }}_map"></div>
<a href="javascript:{{ module }}.clearFeatures()">Delete all Features</a>
{% if display_wkt %}<p> WKT debugging window:</p>{% endif %}
{% include "floppyforms/textarea.html" %}
{% include "floppyforms/textarea.html" with required=0 %}
<script type="text/javascript">
{% block map_options %}var map_options = {};{% endblock %}
{% block options %}var options = {
Expand Down

0 comments on commit 0c95d95

Please sign in to comment.