(function (window, document) {

    let fields = Array.prototype.slice.call(
        document.querySelectorAll('select.login-dropdown')
    );

    fields.forEach(function (field) {
        new Choices(field, {
            shouldSort: false,
            searchEnabled: false,
            itemSelectText: ''
        });
    });
})(window, document);
