mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
DEV: add a plugin outlet below wizard extra description (#26290)
This commit is contained in:
parent
d2a730b8b5
commit
91d0a14a72
@ -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
|
||||
id=@field.id
|
||||
disabled=@field.disabled
|
||||
value=@field.value
|
||||
}}
|
||||
/>
|
||||
{{/if}}
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user