Skip to content

Commit

Permalink
Fix: edit widget for relational bone didn't work properly due unclose…
Browse files Browse the repository at this point in the history
…d <div>-tag
  • Loading branch information
phorward committed Aug 20, 2021
1 parent 9978a98 commit a7b33de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This file documents any relevant changes.

## [1.0.2] - 2021-08-20
- Fix: edit widget for relational bone didn't work properly due unclosed <div>-tag

## [1.0.1] - 2021-08-19
- Fix: webworker now can be used with zipped application

Expand Down
7 changes: 4 additions & 3 deletions flare/forms/bones/relational.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ def createWidget(self):
tpl = html5.Template()
# language=HTML
widgetList = self.fromHTML(
"""<div class='flr-value--relational-wrapper'>
<div [name]="destWidget" class="input-group-item" readonly>
"""
<div class='flr-value--relational-wrapper'>
<div [name]="destWidget" class="input-group-item" readonly></div>
<flare-button [name]="selectBtn" class="btn--select input-group-item input-group-item--last" text="Select" icon="icon-check"></flare-button>
<flare-button hidden [name]="deleteBtn" class="btn--delete input-group-item" text="Delete" icon="icon-cross"></flare-button>
</div>
</div>
"""
)
tpl.appendChild(widgetList, bindTo=self)
Expand Down

0 comments on commit a7b33de

Please sign in to comment.