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

field-checkbox-array.html « form-field « angularjs « CorePluginsAdmin « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eff2f55bad017f29a521be58a3a46ce5edb74ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div>
    <label class="fieldRadioTitle" ng-show="formField.title">{{ formField.title }}</label>
    <p ng-repeat="checkboxModel in formField.availableOptions"
       class="checkbox">
        <label>
            <input ng-model="formField.checkboxkeys[$index.toString()]"
                   value="{{ checkboxModel.key }}"
                   ng-change="formField.updateCheckboxArrayValue()"
                   piwik-attributes="{{formField.uiControlAttributes}}"
                   type="checkbox"
                   id="{{ formField.name + checkboxModel.key }}"
                   name="{{ checkboxModel.name }}">
            <span>{{ checkboxModel.value }}</span>

            <span class="form-description" ng-show="checkboxModel.description">{{ checkboxModel.description }}</span>
        </label>
    </p>
</div>