diff --git a/addon/components/select-light.hbs b/addon/components/select-light.hbs index ac2857b..44ffed2 100644 --- a/addon/components/select-light.hbs +++ b/addon/components/select-light.hbs @@ -15,7 +15,11 @@ {{/each}} {{else}} diff --git a/addon/components/select-light.js b/addon/components/select-light.js index 74f4cb7..56d9305 100644 --- a/addon/components/select-light.js +++ b/addon/components/select-light.js @@ -15,7 +15,6 @@ export default class extends Component { get hasDetailedOptions() { return ![ // Returns a boolean if all data is available for a { label: foo, value: bar } style list of options this.args.options?.[0][this.valueKey], - this.args.options?.[0][this.displayKey], ].some(isNone); } } diff --git a/config/ember-try.js b/config/ember-try.js index e59f91b..8e3cea8 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -6,18 +6,10 @@ module.exports = async function () { return { scenarios: [ { - name: 'ember-lts-3.16', + name: 'ember-lts-3.25', npm: { devDependencies: { - 'ember-source': '~3.16.0', - }, - }, - }, - { - name: 'ember-lts-3.20', - npm: { - devDependencies: { - 'ember-source': '~3.20.5', + 'ember-source': '~3.25.0', }, }, }, diff --git a/tests/integration/components/select-light-test.js b/tests/integration/components/select-light-test.js index 7fe534e..a31da22 100644 --- a/tests/integration/components/select-light-test.js +++ b/tests/integration/components/select-light-test.js @@ -153,8 +153,9 @@ module('Integration | Component | select-light', function(hooks) { + @valueKey="val"> + <:option as |optionValue| >{{optionValue.description}} + `); assert.dom('select option').hasAttribute('value', options[0].val);