Skip to content

Commit

Permalink
Form 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Aug 26, 2020
1 parent 12755eb commit 2319405
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="1.5.1"></a>
# [1.5.1](https://github.com/flextype-plugins/form/compare/v1.5.0...v1.5.1) (2020-08-26)

### Bug Fixes

* **fields** fix select_media field

<a name="1.5.0"></a>
# [1.5.0](https://github.com/flextype-plugins/form/compare/v1.4.0...v1.5.0) (2020-08-25)

Expand Down
2 changes: 1 addition & 1 deletion fieldsets/fields/select_media/field.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<select class="form-control {{ properties.class }} js-select-media" name="{{ field_name }}">
{% for media_file in media_files %}
{% if media_file.extension in registry.get('plugins.admin.settings.entries.media.accept_file_types') %}
<option value="{{ template.basename }}" {% if media_file.basename == field_value %} selected="selected" {% endif %}>{{ media_file.basename }}</option>
<option value="{{ media_file.filename }}" {% if media_file.basename == field_value %} selected="selected" {% endif %}>{{ media_file.filename }}</option>
{% endif %}
{% endfor %}
</select>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Form",
"version": "1.5.0",
"version": "1.5.1",
"description": "Form Plugin to render user forms for Flextype.",
"homepage": "https://flextype.org",
"author": "Sergey Romanenko",
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Form
version: 1.5.0
version: 1.5.1
description: Form Plugin to render user forms for Flextype.
icon: fas fa-check-circle
author:
Expand Down

0 comments on commit 2319405

Please sign in to comment.