Skip to content

Commit

Permalink
FIO-7445: fixed an issue with interpolated data in HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
KatrinKhilko authored and lane-formio committed Apr 26, 2024
1 parent 7804536 commit 0f6913a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/html/HTML.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ export default class HTMLComponent extends Component {
attach(element) {
this.loadRefs(element, { html: 'single' });
this.dataReady.then(() => {
if (this.element) {
this.setContent(this.elemet, this.content);
if (this.refs.html) {
this.setContent(this.refs.html, this.content);
}
});
return super.attach(element);
Expand Down

0 comments on commit 0f6913a

Please sign in to comment.