Skip to content

Commit 1f8f3d9

Browse files
committed
fix lints
1 parent aefdbac commit 1f8f3d9

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

src/fields/fieldSelect.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
computed: {
1515
selectOptions() {
16-
return this.schema.selectOptions || {}
16+
return this.schema.selectOptions || {};
1717
},
1818
1919
items() {

src/fields/fieldVueMultiSelect.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
mixins: [abstractField],
4747
computed: {
4848
selectOptions() {
49-
return this.schema.selectOptions || {}
49+
return this.schema.selectOptions || {};
5050
},
5151
5252
options() {

test/unit/specs/fields/fieldSelectEx.spec.js

-10
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,6 @@ describe("fieldSelectEx.vue", function() {
9595

9696
});
9797

98-
it("should contain a disabled <non selected> element if required", (done) => {
99-
schema.required = true;
100-
vm.$nextTick( () => {
101-
let options = input.querySelectorAll("option");
102-
//expect(options[0].disabled).to.be.true;
103-
//expect(options[0].textContent).to.be.equal("<Not selected>");
104-
done();
105-
});
106-
});
107-
10898
it("should not be multiple", (done) => {
10999
schema.multiSelect = true;
110100
vm.$nextTick( () => {

0 commit comments

Comments
 (0)