Replace/remove a custom select2 Angular directive

This commit is contained in:
Matt-Yorkley
2022-01-29 20:41:48 +00:00
parent 9bce2ca64c
commit 09bd7126d8
4 changed files with 19 additions and 11 deletions

View File

@@ -1,6 +0,0 @@
angular.module("ofn.admin").directive "select2NoSearch", ($timeout) ->
restrict: 'CA'
link: (scope, element, attrs) ->
$timeout ->
element.select2
minimumResultsForSearch: Infinity