Skip to content

Commit 78a4931

Browse files
committed
chore(dep) Keep in step with forms-angular version numbers
1 parent 3d665a4 commit 78a4931

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fng-ui-select",
3-
"version": "0.8.1",
3+
"version": "0.9.0",
44
"author": "Mark Chapman <support@forms-angular.org>",
55
"description": "ui-select plugin for forms-angular",
66
"main": [
@@ -13,7 +13,7 @@
1313
"license": "MIT",
1414
"homepage": "www.forms-angular.org",
1515
"dependencies": {
16-
"angular-ui-select": "0.19.5"
16+
"angular-ui-select": "0.19.6"
1717
},
1818
"ignore": [
1919
"**/.*",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fng-ui-select",
33
"author": "Mark Chapman <support@forms-angular.org>",
4-
"version": "0.8.1",
4+
"version": "0.9.0",
55
"description": "angular-ui-select plugin for forms-angular",
66
"repository": {
77
"type": "git",

src/fng-ui-select.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@
205205
select += '{{' + buildingBlocks.modelString + '.text}}';
206206
}
207207
select += '</ui-select-match>';
208-
// TODO Remove the "| filter: $select.search" below when https://github.com/angular-ui/ui-select/issues/1263, https://github.com/angular-ui/ui-select/issues/1233 etc fixed
209208
select += '<ui-select-choices repeat="option in (' + processedAttr.info.id + '_options) track by $index" ';
210209
select += 'refresh="refreshOptions($select.search, \'' + processedAttr.info.id + '\')" ';
211210
select += 'refresh-delay="0"> ';

test/e2e/single-within-array.spec.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ describe('Single control in array', function () {
6767
field = $('#cg_f_nested_singleAjax input.select2-input');
6868
field.clear();
6969
field.sendKeys('Is');
70-
70+
element.all(by.css('#ui-select-choices-row-2-0')).first().click();
7171
expect(element(by.css('#cg_f_nested_singleAjax .select2-choice.ui-select-match')).getText()).toMatch('IsAccepted John true 89');
7272
element(by.css('#saveButton')).click();
7373
expect(element(by.css('#cg_f_nested_singleAjax .select2-choice.ui-select-match')).getText()).toMatch('IsAccepted John true 89');
7474
});
7575

76-
xit('should handle filtered Ajax lookup', function () {
76+
it('should handle filtered Ajax lookup', function () {
7777
browser.get('/#/test_fng_ui_select/new');
7878
var match = $('#cg_f_filteredAjax a.select2-choice.ui-select-match');
7979
expect(match.getText()).toEqual('Start typing...');
@@ -85,6 +85,9 @@ describe('Single control in array', function () {
8585
expect(element.all(by.css('.select2-result-label.ui-select-choices-row-inner')).count()).toEqual(1);
8686
element.all(by.css('.select2-result-label.ui-select-choices-row-inner')).get(0).click();
8787
expect(match.getText()).toMatch('Jones Alan true 93');
88+
element(by.css('#saveButton')).click();
89+
match = $('#cg_f_filteredAjax a.select2-choice.ui-select-match');
90+
expect(match.getText()).toMatch('Jones Alan true 93');
8891
});
8992

9093
});

0 commit comments

Comments
 (0)