Restore itemdisabled

stable
Álex Hermida 2018-08-02 12:04:40 +02:00 committed by Alex Hermida
parent 62dcc2fbef
commit 71102979e7
2 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@ searchListDirective = ($translate) ->
items: '=',
itemType: '@',
filterClosed: '=',
itemDisabled: '='
}
}

View File

@ -27,6 +27,7 @@ fieldset.search-list
ng-class="{ 'selected': item.id == currentSelected.id }"
data-choice-id="{{ item.id }}"
ng-if="isVisible(item)"
ng-disabled="itemDisabled(item)"
)
ng-include(src="templateUrl")