mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Add attributes to select all and list items
This commit is contained in:
parent
ac232fcff0
commit
68303ee644
@ -3,7 +3,8 @@
|
|||||||
type="checkbox"
|
type="checkbox"
|
||||||
ng-disabled="itemsLength === 0"
|
ng-disabled="itemsLength === 0"
|
||||||
ng-model="isSelected"
|
ng-model="isSelected"
|
||||||
ng-change="doSelectAll()">
|
ng-change="doSelectAll()"
|
||||||
|
data-multi-select-select-all>
|
||||||
{{label}}
|
{{label}}
|
||||||
</label>
|
</label>
|
||||||
<button
|
<button
|
||||||
|
@ -30,7 +30,7 @@ export default
|
|||||||
item: '=item'
|
item: '=item'
|
||||||
},
|
},
|
||||||
require: '^multiSelectList',
|
require: '^multiSelectList',
|
||||||
template: '<input type="checkbox" ng-model="isSelected">',
|
template: '<input type="checkbox" data-multi-select-list-item ng-model="isSelected">',
|
||||||
link: function(scope, element, attrs, multiSelectList) {
|
link: function(scope, element, attrs, multiSelectList) {
|
||||||
|
|
||||||
scope.isSelected = false;
|
scope.isSelected = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user