Skip to content

Commit d1b929a

Browse files
committed
Update reference select form and config form, #10552
1 parent 4336c17 commit d1b929a

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

arches/app/templates/views/components/widgets/reference-select.htm

+16-12
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@
99
<i data-bind="css: {'ion-asterisk widget-label-required': node.isrequired}"></i>
1010
<!-- /ko -->
1111
<div class="col-xs-12 resource-instance-wrapper" data-bind="class: nodeCssClasses">
12-
<div>Put dropdown here</div>
12+
<select style="display:inline-block;"
13+
data-bind="
14+
disable: false,
15+
select2Query: {
16+
select2Config: select2Config
17+
},
18+
attr: {'data-label': label}
19+
">
1320
</div>
1421
</div>
1522
</div>
@@ -21,17 +28,14 @@
2128
<span data-bind="text: $root.translations.placeholder"></span>
2229
</div>
2330
<div class="col-xs-12 pad-no crud-widget-container">
24-
<p>Put form here</p>
25-
</div>
26-
</div>
27-
<div class="control-label">
28-
<span data-bind="text: $root.translations.defaultValue"></span>
29-
</div>
30-
<div>
31-
<div class="form-group">
32-
<div class="col-xs-12 resource-instance-wrapper">
33-
</div> Put content here </div>
34-
</div>
31+
<input
32+
class="form-control input-md widget-input"
33+
data-bind="
34+
attr: {placeholder: $root.translations.placeholder, 'aria-label': $root.translations.placeholder},
35+
value: placeholder,
36+
valueUpdate: 'keyup'
37+
"
38+
>
3539
</div>
3640
</div>
3741
{% endblock config_form %}

0 commit comments

Comments
 (0)