A platform for community discussion. Free, open, simple.
DEV: add a plugin outlet below wizard extra description (#26290)
Neil Lalonde91d0a14a7292
diff --git a/app/assets/javascripts/discourse/app/static/wizard/components/wizard-field.gjs b/app/assets/javascripts/discourse/app/static/wizard/components/wizard-field.gjsindex c71cbd1e3f6..a2f96fddfe7 100644--- a/app/assets/javascripts/discourse/app/static/wizard/components/wizard-field.gjs+++ b/app/assets/javascripts/discourse/app/static/wizard/components/wizard-field.gjs@@ -1,7 +1,9 @@import Component from "@glimmer/component";import { assert } from "@ember/debug";+import { hash } from "@ember/helper";import { dasherize } from "@ember/string";import { htmlSafe } from "@ember/template";+import PluginOutlet from "discourse/components/plugin-outlet";import fields from "./fields";export default class WizardFieldComponent extends Component {@@ -77,6 +79,15 @@ export default class WizardFieldComponent extends Component {<div class="wizard-container__description extra">{{htmlSafe this.field.extraDescription}}</div>++ <PluginOutlet+ @name="below-wizard-extra-description"+ @outletArgs={{hash+ }}+ />{{/if}}</div></template>