Skip to content

Commit 969fff1

Browse files
committed
COMPATIBILITY: Support tag-group-chooser interface && add base CSS to wizard app
1 parent dec670a commit 969fff1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

assets/javascripts/discourse/templates/components/wizard-custom-field.hbs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div class="setting-label">
2020
<label>{{i18n "admin.wizard.field.required"}}</label>
2121
</div>
22-
22+
2323
<div class="setting-value">
2424
<span>{{i18n "admin.wizard.field.required_label"}}</span>
2525
{{input type="checkbox" checked=field.required}}
@@ -54,7 +54,7 @@
5454
<div class="setting-label">
5555
<label>{{i18n "admin.wizard.type"}}</label>
5656
</div>
57-
57+
5858
<div class="setting-value">
5959
{{combo-box
6060
value=field.type
@@ -216,7 +216,9 @@
216216

217217
<div class="setting-value">
218218
{{tag-group-chooser
219+
id=(concat field.id "-tag-groups")
219220
tagGroups=field.tag_groups
221+
onChange=(action (mut field.tag_groups))
220222
}}
221223
</div>
222224
</div>
@@ -257,7 +259,7 @@
257259
<div class="setting-label">
258260
<label>{{i18n "admin.wizard.field.property"}}</label>
259261
</div>
260-
262+
261263
<div class="setting-value">
262264
{{combo-box
263265
value=field.property

assets/stylesheets/wizard/wizard_custom.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "common/foundation/colors";
22
@import "common/foundation/variables";
3+
@import "common/foundation/base";
34
@import "common/base/code_highlighting";
45
@import "common/base/modal";
56
@import "common/base/onebox";

0 commit comments

Comments
 (0)