angular.module("yds").directive("ydsComboboxSelector", ["$timeout", "DashboardService", "Data",
    function ($timeout, DashboardService, Data) {
        return {
            restrict: "E",
            scope: {
                title: "@",             // Title
                projectId: "@",         // Project ID (only for filter API)
                type: "@",              // Field facet
                useFilterApi: "@",      // Set to true to use filter API, false to use search API (facets)
                disableCookies: "@",    // Set to true to NOT remember previous selection
                selectionType: "@"      // Selection type for DashboardService
            },
            templateUrl: Data.templatePath + "templates/dashboard/combobox-selector.html",
            link: function (scope, element, attrs) {
                var selectivityContainer = _.first(angular.element(element[0].querySelector(".selectivity-container")));

                scope.ydsAlert = "";
                var type = scope.type;
                var selectionType = scope.selectionType;
                var disableCookies = (scope.disableCookies === "true");

                /**
                 * Hide alert
                 */
                scope.hideAlert = function () {
                    scope.ydsAlert = "";
                };

                /**
                 * Handle response from Search API
                 * @param response
                 */
                var getItemsSuccess = function (response) {
                    var items;

                    // Get items from the response depending on the API which was used...
                    if (scope.useFilterApi === "true") {
                        items = _.map(response.data.value, function (item) {
                            return {
                                id: item.id,
                                text: item.label
                            }
                        });
                    } else {
                        items = response;
                    }

                    // Check if there is a saved selection in the cookies, and use that as default
                    var defaultSelection = null;
                    var cookieValue = DashboardService.getCookieObject(selectionType);

                    if (!_.isUndefined(cookieValue) && !disableCookies) {
                        // Add IDs list for Selectivity default value, and save to DashboardService
                        defaultSelection = cookieValue.split(",");
                        DashboardService.saveObject(selectionType, cookieValue);
                    }

                    // Create Selectivity menu
                    var selectivity = $(selectivityContainer).selectivity({
                        items: items,
                        multiple: true,
                        value: defaultSelection,
                        placeholder: "Select " + scope.title
                    });

                    // Listen for Selectivity selection change events
                    $(selectivity).on("change", function (e) {
                        var newValue = null;
                        if (e.value.length > 0) {
                            newValue = e.value.join(",");
                        }

                        scope.selectionChanged(newValue);
                    });
                };

                if (scope.useFilterApi === "true") {
                    // Use filters API
                    Data.getComboboxFilters(scope.projectId, scope.type, undefined, "en")
                        .then(getItemsSuccess,
                            function (error) {
                                scope.ydsAlert = error.message;
                            });
                } else {
                    // Call Facets API
                    Data.getComboboxFacetItems("*", type)
                        .then(getItemsSuccess);
                }

                /**
                 * Save the new selection to the DashboardService with the given selection type
                 * @param newSelection  New selected option
                 */
                scope.selectionChanged = function (newSelection) {
                    DashboardService.saveObject(selectionType, newSelection);
                };
            }
        };
    }
]);

@@ -2341,16 +2341,42 @@
 alue) &&
+ !_.isNull(cookieValue) &&
  !disabl

Fix combobox selector not loading if cookie value was null