Skip to content

Commit

Permalink
Revert "FIO-7445: fixed an issue where the interpolated data does not…
Browse files Browse the repository at this point in the history
… show up…"

This reverts commit 75d7c45.
  • Loading branch information
lane-formio authored Apr 17, 2024
1 parent 0ffd33b commit 4532017
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/html/HTML.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,8 @@ export default class HTMLComponent extends Component {
return super.render(this.renderContent());
}

get dataReady() {
return this.root?.submissionReady || Promise.resolve();
}

attach(element) {
this.loadRefs(element, { html: 'single' });
this.dataReady.then(() => {
if (this.element) {
this.setContent(this.elemet, this.content);
}
});
return super.attach(element);
}
}

0 comments on commit 4532017

Please sign in to comment.