Welcome to mirror list, hosted at ThFree Co, Russian Federation.

field-array.directive.html « field-array « angularjs « CoreHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1ce3fcaecc19616c8ec379f44079b65933376f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="fieldArray form-group">
    <div ng-repeat="item in formValue track by $index"
         class="fieldArrayTable fieldArrayTable{{ $index }} multiple valign-wrapper">

        <div piwik-field uicontrol="{{ field.uiControl }}"
             data-title="{{ field.title }}"
             name="{{ name + '-' + $index }}"
             full-width="true"
             ng-if="field.templateFile"
             template-file="{{ field.templateFile }}"
             class="fieldUiControl"
             ng-model="formValue[$index]"
             options="field.availableValues"
             ng-change="fieldArray.onEntryChange()"
             placeholder=" ">
        </div>

        <span ng-click="fieldArray.removeEntry($index)"
              title="{{ 'General_Remove'|translate }}"
              ng-hide="($index + 1) == (formValue|length)"
              class="icon-minus valign"></span>
    </div>
</div>