-
Notifications
You must be signed in to change notification settings - Fork 17
/
dataParam.html
33 lines (28 loc) · 977 Bytes
/
dataParam.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<ul class="unstyled">
<li ng-repeat="p in param.parse">
<div class="input-append">
<select class="input-medium"
ng-model="p.selectField"
ng-options="field.name for field in displayCtrl.fields"
ng-change="updateApiCall()">
</select>
<input class="input-medium"
type="text"
ng-model="p.selectValue"
placeholder="{{ p.selectField.description }}"
ng-change="updateApiCall()">
<button class="btn"
type="button"
ng-click="param.parse.splice($index, 1)">
<i class="icon-trash"></i>
</button>
</div>
<li>
<li>
<button class="btn"
type="button"
ng-click="addFilterField(param.parse)">
<i class="icon-plus"></i> Add
</button>
</li>
</ul>